Answer the question
In order to leave comments, you need to log in
Is it possible to dynamically read environment variables from the .env file from the create-react-app production build?
I need to dynamically assign a port for internal requests to the server in my production build, since I cannot know in advance exactly which port my application will run on, is it possible to dynamically read the value from the outside and use it on the fly in my production build?
Answer the question
In order to leave comments, you need to log in
I need to dynamically assign a port for internal requests to the server in my production build, since I cannot know in advance exactly which port my application will run on, is it possible to dynamically read the value from the outside and use it on the fly in my production build?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question