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
- Local Serverless Function Testing: Are D...
I have followed the instructions to get the CLI working, and have been able to log-in, initialize my project, and created a simple Python function, which calls ...
- Update user email using OTP
Hi, I am trying to implement email update using OTP, there is not password associated with the account. One solution I found online is creating appwrite functio...
- Magic Link token automatically consumed
Hi, I'm using the Magic Link auth system with Appwrite Cloud and I'm running into huge issues getting users to log in successfully. About 9 times out of 10, th...