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
- Locked out from my own account
I've create an appwrite account using onedevcontext@gmail.com and tried upgrading to Pro multiple times but failed as the Credit Card would not be accepted, I t...
- Not able to upgrade to Appwrite Pro
This is my project ID - 69f5bee60036512d2d52 I've tried multiple credit cards now and I still face the same error "Your card was declined". But I've used the s...
- Storage System
Hey guys, quick question regarding massive storage scaling. I’m working in digital forensics and I’m constantly dealing with huge binary disk images, usually be...