我正在尝试使用 js(浏览器)将图像上传到 imgur 并收到 CORS 错误:
Access to XMLHttpRequest at 'https://api.imgur.com/3/upload' from origin 'http://localhost:3000' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
但预检请求包含Access-Control-Allow-Origin标头:

我错过了什么?这是因为access-control-allow-credentials设置为true?
