
Hello,
I have the following situation. I had a website defined and deployed, deploying from github. I have accidentally deleted my github repository. I have recreated my github repository, but i could not re-link it to the existing site. I have created a new site and linked the new repository with the same name as previous. I have deployed the website. I have added the new website origin as platfom, and deleted the old ones.
------All good so far.
Now the problem is that i get cors errors when the website tries to access the database (logins, documents, etc...):
/login:1 Access to fetch at 'https://cloud.appwrite.io/v1/databases/main_database/collections/table_sessions/documents?queries%5B0%5D=%7B%22method%22%3A%22equal%22%2C%22attribute%22%3A%22status%22%2C%22values%22%3A%5B%22active%22%5D%7D&queries%5B1%5D=%7B%22method%22%3A%22lessThan%22%2C%22attribute%22%3A%22expiresAt%22%2C%22values%22%3A%5B%222025-10-08T12%3A21%3A06.048Z%22%5D%7D' from origin 'https://qr-restaurant.appwrite.network' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header has a value 'https://localhost' that is not equal to the supplied origin. Have the server send the header with a valid value.
Recommended threads
- Subscription problem
I want to subscribe 25$ pro plan , but its showing : "Provided payment method is no longer available."
- Mistral Custom MCP - AppWrite
Hi! How do I configure Mistral Le Chat with AppWrite using MCP Custom? Looking for setup steps and authentication guidance.
- Access to encrypted string attributes fr...
Can I use the getRow functionality if that row contains encrypted string attributes? Or is this completely impossible to get the value on the client side? From ...
