Skip to content

Commit

Permalink
deploy: a20ef65
Browse files Browse the repository at this point in the history
  • Loading branch information
aivve committed Jan 11, 2024
1 parent 3edecda commit 8844a1b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 16 deletions.
7 changes: 1 addition & 6 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,8 @@
var myGlobal = typeof window !== 'undefined' ? window : self;
myGlobal.config = {
debug: false,
apiUrl: [
"https://node.karbo.io:32448/"
],
nodeList: [
"https://karbo.club/services/node_web/",
"https://karbo.club:32448/",
"https://node.karbo.org:32448/",
"https://node.karbo.io:32448/"
],
Expand Down Expand Up @@ -40,8 +37,6 @@ myGlobal.config = {
avgBlockTime: 240,
maxBlockNumber: 500000000,
};
var randInt = Math.floor(Math.random() * Math.floor(config.nodeList.length));
config.nodeUrl = config.nodeList[randInt];
function logDebugMsg() {
var data = [];
for (var _i = 0; _i < arguments.length; _i++) {
Expand Down
8 changes: 1 addition & 7 deletions config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@
let myGlobal : any = typeof window !== 'undefined' ? window : self;
myGlobal.config = {
debug: false,
apiUrl: [
"https://node.karbo.io:32448/"
],
nodeList: [
"https://karbo.club/services/node_web/",
"https://karbo.club:32448/",
"https://node.karbo.org:32448/",
"https://node.karbo.io:32448/"
],
Expand Down Expand Up @@ -40,9 +37,6 @@ myGlobal.config = {
maxBlockNumber: 500000000,
};

let randInt = Math.floor(Math.random() * Math.floor(config.nodeList.length));
config.nodeUrl = config.nodeList[randInt];

function logDebugMsg(...data: any[]) {
if (config.debug) {
if (data.length > 1) {
Expand Down
Loading

0 comments on commit 8844a1b

Please sign in to comment.