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
- How to Display File in Web?
I'm trying to use Appwrite's Storage to store images and display them in my app, however when I use the `getFileView`, `getFileDownload` or `getFilePreview` met...
- Project Paused Despite Daily Active Usag...
I noticed that my project was automatically **paused**, even though it is actively being used. The project is an **attendance application** that is used daily b...
- Sudden CORS Errors - Domain hasn't Chang...
I have an Appwrite project with two web apps configured, the first one has the hostname `*` and the second one I just added to test if it could fix the issue wi...