hey iam trying to connect my frontend with appwrite . i have deployed my frontend in vercel and backend appwrite cloud. When iam trying to authenticate using my domain name i was unable to authenticate. if iam using vercel default link without domain iam able to authenticate.
Access to XMLHttpRequest at 'https://cloud.appwrite.io/v1/account' from origin 'https://www.printfc.in' 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.
iam getting this error
Please share screenshots of the web platforms you added to your Appwrite project
Solved
[SOLVED] CORS error
What solved it ?
Recommended threads
- Custom API domain is unreachable
Earlier my custom api domain was working fine. Now it seems to be offline without a trace a few hours later. I didn't change anything, all the relevant DNS reco...
- "Invalid console fingerprint" when unpau...
I've tried logging out and logging back in, still can't figure out why this is happening.
- Inviting members while SMTP is disabled ...
Issue: https://github.com/appwrite/console/issues/3125 PR: https://github.com/appwrite/console/pull/3126