From 45b890c6ee63e84a02e54fd6111cfe2f04a6729b Mon Sep 17 00:00:00 2001 From: Ryan Lucchese Date: Sun, 29 Apr 2018 14:36:52 -0600 Subject: [PATCH] fixing explorer api urls for testnets --- src/App.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.js b/src/App.js index c56c865..3f92a3f 100644 --- a/src/App.js +++ b/src/App.js @@ -221,8 +221,8 @@ class App extends Component this.setState({network: networkName}, function() { if (this.state.network === 'main') this.explorerAPI = 'https://explore.energi.network/api/'; - else if (this.state.network === 'test') this.explorerAPI = 'http://explore.test.energi.network/api/'; - //else if (this.state.network === 'test60x') this.explorerAPI = 'http://explore.test60x.energi.network/api/'; + else if (this.state.network === 'test') this.explorerAPI = 'https://explore.test.energi.network/api/'; + //else if (this.state.network === 'test60x') this.explorerAPI = 'https://explore.test60x.energi.network/api/'; else this.setError("Invalid network"); fetchBlockchainInfo();