From 256cdad97823888e546ba5d95bec713bcf6d2df6 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Wed, 27 Dec 2023 17:11:14 +0200 Subject: URL settings magic --- src/js/arching-kaos-web-ui-settings.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/js/arching-kaos-web-ui-settings.js') 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 { -- cgit v1.2.3