Can we change root APIURL in angular 8 without building project with environment development or production from CLI
问题 Do we need to build project two times with prod and development, or is there any other way to change the root URL of API pointed on different server and root url change without building the project. 回答1: We can create a config.json file in project directory and in app.component.ts read the new configuration setting without rebuilding the project. I got solution here https://github.com/angular/angular-cli/issues/12442 回答2: I don't understand why a lot of people keep their API URL root in