Uploading Images via Direct Creator Upload
Hi,
I'm encountering CORS issues in Safari when using Uppy to upload directly to Cloudflare Images.
The preflight OPTIONS response from Cloudflare Images returns an empty access-control-allow-headers header:
access-control-allow-origin: *
access-control-allow-headers:
access-control-allow-methods: POST, OPTIONS
access-control-max-age: 86400
I believe that this is causing safari to not parse the headers correctly and then fail with message:
[Error] Header Access-Control-Allow-Headers has an invalid value: 1 GMT
[Error] XMLHttpRequest cannot load [direct-upload-url] due to access control checks

0 Replies