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
- Server Error 500 when trying to send ver...
Hello, I'm using Appwrite for an app project with React Native. Since I want my users to verify their account through a verification email, I've added a web pl...
- SSL for SaaS
Hi everyone 👋 I'm building a website builder SaaS using Appwrite Cloud Functions My architecture relies on users connecting their own custom domains via CNAME...
- Cannot delete rows, deleted relationship...
I had defined a two-way relationship between 2 tables, then I deleted the relationship column I tried re-creating the column but I started to get errors about t...