Hi! So I have the following problem: I get this CORS error in my release version: Access to XMLHttpRequest at 'https://backend.apartment.lutore.com/v1/storage/buckets/677a94a00000afff67e8/files/67db2b33001471aa50c1/view?project=6734b00f0032391c9699' from origin 'https://guide.apartment.lutore.com' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'https://app.apartment.lutore.com' that is not equal to the supplied origin.
Now the problem: I have set both app.apartment.lutore.com and guide.apartment.lutore.com in the console as platforms. And now to the more interesting part: Loading the data from the database etc. works with origin guide.apartment.lutore.com, but as soon as I fetch something from this storage bucket, it's not working. Thank you very much for your help!
CORS not working just for one bucket
could be permissions
Recommended threads
- Custom Domain TLS Error (perfinso.com)
Hey Appwrite team/community, I need urgent help with a custom domain setup! I've added perfinso.com to my project, pointed the nameservers, and verification is...
- Personalized Finance Apps with Blockchai...
We design blockchain-powered personal finance applications tailored to your specific needs. Our team covers web, mobile, cloud, and AI development, ensuring eve...
- GitHub Status Badges for Appwrite Servic...
Hey everyone! Is it possible to add GitHub status badges for specific Appwrite services like Sites builds, Functions, Databases, etc.? Would love to display bu...