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. cloud.fdap.at/v1/databases/646151af2dbec1f2abf6/collections/646151c12fd1d2319057/documents:1 Failed to load resource: net::ERR_FAILED
Did you have used localhost as the appwrite URL?
That does not seems to be related with this issue, so if possible, create a new post with this error you're experiencing π
i have nothing set here
Then that could be the problem, put there your domain
the problem is. if i put here a domain. and call von the generated default vercel url. i get a cors error
maybe i have a thinking error
i think the problem for the cors is :
i host my test site on vercel
Did you add a web platform for your app?
no
wenn i start my nuxt app locally it works. but when i deploy it on vercel i get the cors
That's probably because of the mismatch in the hostname
on a local environment, the hostname would be localhost or 127.0.0.1
On a vercel deploy, it'll be something like you-app-name.vercel.app
So what you can do is, check what the URL is for your vercel app, and make that the hostname in the project settings in Appwrite
in the gui or in the docker-composer?
GUI
how i create my own certificate
Since doesn't seems solved, reopening
ty for your help now its solved. I think i will write a github gist for that problem π β€οΈ
Please do share the link to the gist when you're done! Will be helpful to others!
[SOLVED] how i create my own certificate
y i will do it π
ty for your help
Recommended threads
- How can I disable client-side account re...
Hi everyone! Iβm currently building a game backend using Appwrite, and Iβd like to prevent users from creating new accounts directly through the client. My go...
- relationships bug or error idk
hey every one, am using am using appwrite on a project and ran into a problem where by created a relationship and two way to be specific and it is stuck on proc...
- Domain is owned by a different organizat...
Hi Appwrite team, I'm trying to add my custom domain **futlive9.com** to my project, but I'm getting the error: "Domain is owned by a different organization." ...