diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2023-12-27 17:11:14 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2023-12-27 17:11:14 +0200 |
commit | 256cdad97823888e546ba5d95bec713bcf6d2df6 (patch) | |
tree | 80156737c468639a22c6a497365b494397fe45c4 /src/js/arching-kaos-web-ui-settings.js | |
parent | c139dbe9a318493d7aa97039e7e1fdba5b2508f1 (diff) | |
download | arching-kaos-web-ui-256cdad97823888e546ba5d95bec713bcf6d2df6.tar.gz arching-kaos-web-ui-256cdad97823888e546ba5d95bec713bcf6d2df6.tar.bz2 arching-kaos-web-ui-256cdad97823888e546ba5d95bec713bcf6d2df6.zip |
URL settings magic
Diffstat (limited to 'src/js/arching-kaos-web-ui-settings.js')
-rw-r--r-- | src/js/arching-kaos-web-ui-settings.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/js/arching-kaos-web-ui-settings.js b/src/js/arching-kaos-web-ui-settings.js index 92e27e2..c7bb26f 100644 --- a/src/js/arching-kaos-web-ui-settings.js +++ b/src/js/arching-kaos-web-ui-settings.js @@ -48,6 +48,7 @@ var default_settings = { stellarDefaultConfig: 0, zchainBasedDepthSeek: 10, zblockBasedDepthSeek: 10, + localAPI: 'http://localhost:8610' } // TODO: Make up a settings configuration page to set this up initially rather @@ -75,6 +76,7 @@ if (( location.origin === "http://z.kaotisk-hund.com") || ( location.origin === "http://gw.ipfs.z.kaotisk-hund.com") || ( location.origin === "http://[fc59:6076:6299:6776:c13d:fbb2:1226:ead0]")) { activeSettings.ipfsSelectedGatewayAddress = 1; + activeSettings.horizonSelectedAddress = 1; } else if ( location.origin === "http://localhost:3000" ) { activeSettings.ipfsSelectedGatewayAddress = 2; } else { |