#🗂│web
Hello guys, I need a little bit of help.
I already read the article: https://appwrite.io/blog/post/cors-error
My app has 2 web platforms with the following hosts:
- myfrontend.local
- vuela-plus.netlify.app
My original platform was set for localhost, but I changed it to myfrontend.local to try fixing my CORS issue. I hardcoded a local IP to the domain myfrontend.local using my hosts file. This works - local development has no CORS issues.
My issue is on Netlify
I set my env variables as:
NEXT_PUBLIC_APP_URL=httpa://vuela-plus.netlify.app
My Netlify Platform is configured for the correct domain, yet I still get this error:
Access to fetch at 'https://cloud.appwrite.io/v1/account/sessions/email' from origin 'https://vuela-plus.netlify.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. Have the server send the header with a valid value, or, if an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Could this be a Netlify-specific issue?
Can anyone help?
Recommended threads
- GB Hours IS NOT resetting
Hi, I was checking my usage and noticed that all of my usage quotas were reset on August 20, 2026, when my billing cycle renewed. Everything else appears to ha...
- Confused about Appwrite Pro pricing
Hi. I've been subscribed to the $25 Appwrite Pro plan, but I've been getting charged $40. I have two projects on my account. I was wondering where exactly the e...
- 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...