mapascoletivos/webapp

Fix build configuration

Closed this issue · 1 comments

Using enviroment variables to define app configuration when building is not working. Can't define API URL for staging website.

Fixed in PR #35.

At the moment the staging URL is hardcoded and enabled if NODE_ENV=staging is used during build. When it is time to setup production, the config.js can be changed to use a enviroment variable to get the production URL and other settings.