Skip to content

Commit

Permalink
removing NODE_PORT env var and using location.origin as the default a…
Browse files Browse the repository at this point in the history
…piHost (#12)
  • Loading branch information
RyanNoelk authored May 7, 2018
1 parent 53e06a6 commit ed44414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/common/config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
let apiHost = '';
let apiHost = window.location.origin;
if (process.env.NODE_API_URL) {
apiHost = process.env.NODE_API_URL;
}
Expand Down

0 comments on commit ed44414

Please sign in to comment.