I have created a project and added a web platform with giving hostmain as *.vercel.app. But when I start my application
Access to XMLHttpRequest at 'https://cloud.appwrite.io/v1/account' from origin '.vercel.app' 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.
Hey there can anyone help me with this issue. Thank you
Why is telling you're using localhost?🤔 It should be the vercel domain
Yes but I’m getting that, even after saving the changes. I even tried with deleting the previous and creating a new one.
Did you add the platform on your instance
Did you add the project here?
cc: @sachu47
Yes I did add the platform
do one thing add localhost as a platform as well.
Recommended threads
- I can't UNPAUSE my project with the free...
I received an email notifying me that my project had been paused due to inactivity, and the email included a link to "Restore project." However, that button red...
- How to bypass the rate limit on the back...
Once a month my app has a ton of usage and I always run into the Too many requests 429 error. I am trying to optimize the queues and jobs to manage that, but a...
- 401 - Project not accessible in this reg...
Hi Appwrite team, I’m experiencing a Cloud Console issue with my NYC region project. Problem: - Some Console pages return: “401 - Project is not accessible ...