Forgive my ignorance, but is there a preferred or recommended way to use a different config file for the application depending on which environment you are running in? For example, in dev I’d like to have a hostUrl
in a config file that points to localhost
for all my api calls, but in prod or test have a different url. Seems like something like that should be part of the initial setup. Thanks.
This post might give you a clue enableProdMode() question Though I’m not sure if that’s the best practice.
This will suit my purposes. Thanks so much.