I have this code in envrionment.ts
export const environment = {
production: false,
host_name: 'http://local.website.com',
api_name: 'http://local.website.com/api',
ajax_name: 'http://local.website.com/ajax',
};
Once the app is built, we need to change the environment settings without undergoing another build. Essentially because the web-app is coupled to another website, and the back-end people want to change these settings without running a build. Using the .env root file has been ruled-out as insecure leaving a .json file in the assets folder as the only option. There is another ts file on the app that can read the json with no problem when served but envrionment.ts can not seem to, supposedly because its static. Any help would be appreciated.