How to work with sensitive variable in the angle

0

I'm in big trouble, I have several computers where each of them consumes a variable but their data is different, for example:

  

I have app.js file where there is a route to access my api, in development I have a link and in production another, I want to be avoiding the constant exchange and avoid the risk of forgetting the link in production or development.

I already found some tool that did this service a api but lost where it was.

Would anyone have an idea or other api to solve my problem?

    
asked by anonymous 25.04.2017 / 16:58

0 answers