diff --git a/src/store/chains/index.js b/src/store/chains/index.js index aba18098..319d60d4 100644 --- a/src/store/chains/index.js +++ b/src/store/chains/index.js @@ -1,7 +1,7 @@ let chains = {} let configs = require.context('../../chains/mainnet', false, /\.json$/) -if (window.location.hostname.startsWith('testnet') || window.location.search.indexOf('testnet')) { +if (window.location.hostname.startsWith('testnet') || window.location.search.indexOf('testnet') > -1) { configs = require.context('../../chains/testnet', false, /\.json$/) }