title: How to set an env variable with double quotes in dokku of a create-react-app based app?
body: <p>I'm having trouble getting a create-react-app based application to correctly load environment variables containing double quotes:</p>
  
  <p>First the dokku config shows this:</p>
  
  <pre><code>dokku config admin
  =====&gt; admin config vars
  REACT_APP_API:           "https://example.com"
  dokku@DokkuVM:~$ 
  </code></pre>
  
  <p>and my fetch calls look like this:</p>
  
  <pre><code>fetch(`${process.env.REACT_APP_API}/api/v1/whatever`)
  </code></pre>
  
  <p>which webpack compiles to (and of course does not work):</p>
  
  <p><code>fetch(("\"https://example.com\"") + '/api/v1/whatever')</code></p>
  
  <p>A similar setup is working locally, in my .env file I have:</p>
  
  <pre><code>REACT_APP_API="http://example.com"
  </code></pre>