[Bug] 文件上传失败,Cross跨域问题, 腾讯云存储桶已配置跨域 #4537
Replies: 4 comments 2 replies
-
👀 @forrany Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
Beta Was this translation helpful? Give feedback.
-
Hey @forrany! 👋 I'm here to help you with bugs, questions, and becoming a contributor. Let's squash those bugs together! I found some similar discussions and issues related to file upload failures and CORS configuration in Lobe Chat:
For your specific issue with Tencent Cloud storage, ensure that the CORS configuration is correctly set up to allow requests from your Vercel domain. Double-check that the 'Access-Control-Allow-Origin' header is included in the response from your server. If the issue persists, consider reviewing the CORS settings in your Tencent Cloud storage to ensure they match the requirements for your application. |
Beta Was this translation helpful? Give feedback.
-
把你超时删了看看 https://lobehub.com/zh/docs/self-hosting/advanced/s3/tencent-cloud |
Beta Was this translation helpful? Give feedback.
-
📦 Environment
Vercel
📌 Version
v1.26.4
💻 Operating System
macOS
🌐 Browser
Chrome
🐛 Bug Description
如图,上传图片或文件会有显示网络或跨域问题,使用的腾讯存储桶,而且确认已经配好了跨域,配置如下:
📷 Recurrence Steps
No response
🚦 Expected Behavior
No response
📝 Additional Information
No response
Beta Was this translation helpful? Give feedback.
All reactions