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
- Bug on Updating User Limit
I’ve encountered a bug in the Appwrite Cloud UI when attempting to update the user limit to 0. My goal is to disable public registration while still allowing e...
- Failed to load data from database
My app broken, it throw AppwriteException exception. Few days ago it works well. AppwriteException: , ClientException with SocketException: Failed host lookup:...
- Getting CORS error when accessing websit...
When accessing my website I'm getting: (index):1 Access to font at 'https://assets.appwrite.io/fonts/inter/Inter-Regular.woff2' from origin 'https://mvp-site-ra...