title: React Cors issue in one sub-domain but not another
body: <p>I'm making a React application, and to do API calls in development, I have a proxy set up in my package.json:</p>
  <pre><code>&quot;proxy&quot;:&quot;https://www.metaweather.com/api/location&quot;,
  </code></pre>
  <p>I'm making an api request to a weather app like so:</p>
  <pre><code>export const getLocations = async (query) =&gt; {
      const response = await axios.get(`/search/?query=${query}`)//full address is proxied in package.json
      return response.data //WORKS PERFECTLY
  }
  </code></pre>
  <p>However, I cannot make an api request to a different url of the same domain, due to a CORS error</p>
  <pre><code>export const getWeather = async (id) =&gt; {
      const response = await axios.get(`44418`)
      return response.data //CORS PROBLEM
  }
  </code></pre>
  <p>How can I fix this? I've been searching all day, and cannot figure out why one subdomain will work but the other won't?</p>