0
I have big problems, I have several computers where each one consumes a variable but their data is different, to exemplify:
I have app.js file where there is a route to access my api, in development I have a link and in production other, I want to avoid constant exchange and avoid the risk of forgetting the link in production or development.
I’ve found some tool that made this service a api
but I lost where she was.
Would anyone have any idea or other api
to solve my problem ?
There are several ways to implement such a mechanism. What kind of server-side technology are you using?
– OnoSendai
@Onosendai really need is for front-end. But in the back-end I use Laravel
– Fernanda
The front-end may be the information consumer, but I suppose the part that identifies as the production or development environment is the server, correct?
– OnoSendai
No, there are sensitive variables in the front end as well
– Fernanda