This seems dumb, but I have it setup like this:
in config/index.js:
config/index.js
module.exports = { API_LOCATION: \'http://localhost:8080/api/\'
Import it.
Or just the location.