title: .env file variables access after publish
body: <p>I'm new to react development. I have created .env file(inside root) and got some url for my application. after publish my application to azure my application not getting url values. I have stored it new .env file inside my public folder also. But its not getting values.</p>
  <p>.env file(inside root)</p>
  <pre><code>REACT_APP_SERVICE_BASE_URL = https://localhost:44385/
  REACT_APP_CONFIG_BASE_URL = https://localhost:44354/
  </code></pre>
  <p>js Code</p>
  <pre><code>require('dotenv').config()
  let SERVICE_BASE_URL = process.env.PUBLIC_URL.REACT_APP_SERVICE_BASE_URL;
  </code></pre>
  <p>Can anyone have an idea to fix my issue. localhost working fine. after publish and change url is not working.</p>
  <p>my customers have different Urls. so they need to change with their variables. So I thought if i add .env file inside public folder they can change their Url and use it</p>
  <p>Tried this way also. But this also not calling public folder .env Its also taking root folder .env</p>
  <pre><code>require('dotenv').config(process.env.PUBLIC_URL+ '/.env')
  </code></pre>