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
- How connect an existing sveltekit projec...
The docs are splitte with two different versions... ### [Oficial Docs](https://appwrite.io/docs/quick-starts/sveltekit): **1. Create project** **2. Create Sve...
- Rate limit
How do I solve "Signup Failed, Rate limit for the current endpoint has been exceeded. Please try again after some time"? I have Pro and around 2k requests per ...
- Type 'Theme' does not satisfy the constr...
Type 'Theme' does not satisfy the constraint 'Row'. Type 'Theme' is missing the following properties from type 'Row': $id, $sequence, $tableId, $databaseId, a...