title: Upload video in .net core 3.1 api works fine locally but doesn't work after deploy
body: <p>Weird behavior after in .net core API I am trying to upload files (images and videos) it works just fine with images but when i try to upload video it always return error <code>has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.</code> and <code>Failed to load resource: net::ERR_FAILED</code> I added this annotation
  <code> [HttpPost,DisableRequestSizeLimit]</code> and still same problem .
  this is the file upload logic in frontend</p>
  <pre><code>public uploadFile(file: File): any {
      let formData = new FormData();
      formData.append(&quot;file&quot;, file);
      return this.http.post(`${this.environmentUrl}/api/uploads`, formData);
    }
  </code></pre>