CORS issue when I upload the video from website

What is the name of the domain?

http://localhost:3000

Type

I don’t know

What is the error number?

CORS error

What is the error message?

CORS

What is the issue you’re encountering

Getting CORS error when I upload the video from the website with presigned URL. However it works fine on the mobile side and I did not find any CORS configurations in the stream service from where I can add the localhost url for testing http://localhost:3000

What steps have you taken to resolve the issue?

Finding the CORS configurations in the stream service but did not find any specific page from where I can fix this

What are the steps to reproduce the issue?

  1. Get presigned url from this api https://api.cloudflare.com/client/v4/accounts/9c43e1cc6dcd5ed1d00cc12df8f64d9c/stream/direct_upload
  2. once you get the presigned url form the previous url then you can upload the video with that url e.g. https://upload.cloudflarestream.com/a989413735d54034bb9e8969e02ac3a2

make sure you are uploading the video from the website/localhost because on postman and on mobile side it works fine.