Unfortunately, it's a pretty simple question, but I can't find the answer.
Don't have an access to environment variables in some file.
I use create-react-app (^16.11.0)
- file .env in the root folder near package.json
- variable declared as REACT_APP_API=http://localhost:4000
- call variable as process.env.REACT_APP_API
- the server has been restarted many times
I have an access to the variable in some folder but in another don't.
below link to files structure
Thanks a lot!