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
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...
- custom domain with CloudFlare
Hi all, it seems that CloudFlare has blocked cross-domain CNAME link which made my app hostname which is in CloudFlare, unable to create a CNAME pointing to clo...
- Custom emails
What happen if I use a third party email provider to customize my emails and my plan run out of emails/month? Appwrite emails are used as fallback sending emai...