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
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- delete document problems
i don't know what's going on but i get an attribute "tournamentid" not found in the collection when i try to delet the document... but this is just the document...
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...