hi - I'm getting a CORS error on an R2 bucket that is making no sense to me (I'm sure it's my unders
hi - I'm getting a CORS error on an R2 bucket that is making no sense to me (I'm sure it's my understanding that is wrong though)
I have edited my CORS settings as shown in the image and can access items from the bucket from other apps.
I am getting this error:
Access to fetch at '<BUCKET-ASSET>' from origin 'http://localhost:8080' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'http://localhost:8081' that is not equal to the supplied origin. Have the server send the header with a valid value, or, if an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
What does that error even mean? Is Chrome sending the wrong URL in the header, or is CF sending back a different URL?
Any thoughts would be really appreciated
I have edited my CORS settings as shown in the image and can access items from the bucket from other apps.
I am getting this error:
Access to fetch at '<BUCKET-ASSET>' from origin 'http://localhost:8080' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'http://localhost:8081' that is not equal to the supplied origin. Have the server send the header with a valid value, or, if an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
What does that error even mean? Is Chrome sending the wrong URL in the header, or is CF sending back a different URL?
Any thoughts would be really appreciated





