API remapping

This commit is contained in:
sairaj mote 2024-01-09 03:27:02 +05:30
parent 9c28437106
commit f4b437a085
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
(function (EXPORTS) { //floTokenAPI v1.1.0 (function (EXPORTS) { //floTokenAPI v1.1.0a
/* Token Operator to send/receive tokens via blockchain using API calls*/ /* Token Operator to send/receive tokens via blockchain using API calls*/
'use strict'; 'use strict';
const tokenAPI = EXPORTS; const tokenAPI = EXPORTS;
@ -21,7 +21,7 @@
checkIfTor().then(result => { checkIfTor().then(result => {
isTor = result isTor = result
if (isTor) { if (isTor) {
DEFAULT.apiURL = ['http://omwkzk6bd6zuragdqsrhdyzgxzre7yx4vzrou4vzftintzc2dmagp6qd.onion:5017/'] DEFAULT.apiURL.push('http://omwkzk6bd6zuragdqsrhdyzgxzre7yx4vzrou4vzftintzc2dmagp6qd.onion:5017/')
} }
}); });

File diff suppressed because one or more lines are too long