How do I configure the project in my appwrite console to include the appropriate CORS headers and set up CORS rules. My current origin will be "http://localhost:3000". I've setup the Hostname as localhost in the platform settings. IDk if theyre related. Any help would be appreciated.
Yes, you need to have a Web Platform configured with a hostname of exactly localhost
maybe your project ID is incorrect/missing
An incorrect project id will should not give you a cors issue, cors is mostly an issue regarding the web platform not being set-up :)
If the project ID is missing or incorrect, there will be no valid platforms, therefore CORS error
If it's incorrect it does not give me cors errors.
Recommended threads
- Cannot migrate from Supabase
Hi, I was trying to migrate from Supabase to the Appwrite database. My database had around 190K columns. I tried it twice. Both times, after 2 days, the proce...
- Production down - createExecution return...
Hey, Since 1.9.6 rollout in fra (~17:00 UTC, 14 Aug), POST /v1/functions/{functionId}/executions returns a 400 whenever the body includes an empty headers ob...
- Domain is owned by a different organizat...
Hi Appwrite team, I'm trying to add my custom domain **futlive9.com** to my project, but I'm getting the error: "Domain is owned by a different organization." ...