
application:1 Access to fetch at 'https://cloud.appwrite.io/v1/locale' from origin '' 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.

I think this will solve the issue: https://youtu.be/oEpRh9H5l5g?si=dXu-uKJl2yvucpW5

Tell me if that works 😄

I still have the issue... its working for createemailsession but it failes for locale

Would you please share the network logs?

Are there any other console logs?


It doesn't look like you set the project id
Recommended threads
- 404 for self-host
docker-compose.yml: x-logging: &x-logging logging: driver: 'json-file' options: max-file: '5' max-size: '10m' services: traefik: ima...
- Is p-limit compatible with Appwrite?
I have a function that makes asynchronous calls to different Appwrite collections. This is how I make the call: ```js await Promise.allSettled([ ...
- Realtime stuck on pending
I'm hosting appwrite on a server where there's already nginx running and you can see how it's config looks for appwrite on attachted screenshot. I'm not getting...
