🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
📦 Environment
Docker
📌 Version
v1.9.3
💻 Operating System
Other Linux
🌐 Browser
Chrome
🐛 Bug Description
错误描述
按照要求,设置到了cloudflare的R2储存,绑定了域名。在上传图片时候提示。文件上传失败,请检查网络连接或稍后再试 详情: Error: fileEnv.NEXT_PUBLIC_S3_DOMAIN is not set while enable server upload
配置文件:
在cloudflare的R2里面也能看到通过前端上传进去的图片,但是右上角提示错误,也无法识别。
并且CORS也正确设置
[ { "AllowedOrigins": [ "https://lobechat前端访问域名", ], "AllowedMethods": [ "GET", "PUT", "HEAD", "POST", "DELETE" ], "AllowedHeaders": [ "*" ], "ExposeHeaders": [], "MaxAgeSeconds": 3000 } ]