Skip to content
This repository has been archived by the owner on Jul 22, 2020. It is now read-only.

Commit

Permalink
fix: revert remote addr to window.location.hostname
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnygleason authored and mvines committed Jul 1, 2019
1 parent bc08c13 commit f3ca24d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/EndpointConfig.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
let EndpointConfig = {
BLOCK_EXPLORER_API_BASE: `//18.207.34.153:3001`,
BLOCK_EXPLORER_RPC_URL: `http://18.207.34.153:8899`,
BLOCK_EXPLORER_API_BASE: `//${window.location.hostname}:3001`,
BLOCK_EXPLORER_RPC_URL: `http://${window.location.hostname}:8899`,
};

export default EndpointConfig;

0 comments on commit f3ca24d

Please sign in to comment.