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
- Appwrite Sites: ERR_TOO_MANY_REDIRECTS o...
So, my domain was working perfectly fine with Vercel. I was using cloudflare CDN (still am) but CNAME was DNS-only. I switched over to appwrite, CNAME is still ...
- Project restoration button in console
The project restore button in console is taking no effect, i have tried several times and still nothing, it gives same popup if i reload
- 1.9.5 Migration problem
1.9.5 migration problem after run migration command only openruntimes-executor