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
- CORS errors in Obsidian custom plugin
Hi, anyone here familiar with obsidian community plugins? In short: it's a local first note app which supports writing your own add-ons / plugin But I keep get...
- > AppwriteException: The requested servi...
When trying to read or write from my database I get the following error: > AppwriteException: The requested service is disabled. You can enable the service from...
- Courtesy limit reset for non-profit migr...
Hi Team! I'm the architect for a 501(c)(3) non-profit project (Aaria's Blue Elephant) and we just hit our Free plan Database Read limit (currently at 164%). Th...