jeudi 8 mars 2018

change values in my configuration file once compiled to production?

I have a config.ts file in my angular 5 project that has my configuration of my application

ex.

// config.ts file 
export const URL_SERVICIOS = 'http://myservice.com/api/custom';
export const APIKEY = 'f6641f8b3b26c5db0822';

Once the project has been compiled, I need to update the key or the master route of the service, but I do not find the file already compiled, it would be a pain to have to compile the whole project again to change only that data.




Aucun commentaire:

Enregistrer un commentaire