node.js - Cors errors S3 Upload node - Stack Overflow

时间: 2025-01-06 admin 业界

I'm following this tutorial.

I can get the signed url from my server... great, but then I get the these errors from the signed url... wtf, how am I supposed to avoid this.

Access to XMLHttpRequest at (signed url) from origin 'http://127.0.0.1:5500' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

My cors settings on my bucket are just like in the tutorial.

I hate errors like this