Closed fnitu closed 3 years ago
Check how to build the application to use a different URL for the API requests (a production one instead of the current Heroku development).
References: https://www.jvandemo.com/how-to-use-environment-variables-to-configure-your-angular-application-without-a-rebuild/
For heroku production:
For production:
BASE_URL has been moved from globals to environment and must be used from there.
Check how to build the application to use a different URL for the API requests (a production one instead of the current Heroku development).
References: https://www.jvandemo.com/how-to-use-environment-variables-to-configure-your-angular-application-without-a-rebuild/