please someone should help me i deploy my real time chatting app but resquest is blocked due to cors policy
You need to add a Platform from the Appwrite Console
please direct me on how to do it
i created a real time messaging app using react and i deploy it using netlify but i got this errors if user what to login, register
You need to add a Platform
Access to XMLHttpRequest at 'https://cloud.appwrite.io/v1/account' from origin 'https://main--verdant-marigold-273f1c.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. cloud.appwrite.io/v1/account:1
Failed to load resource: net::ERR_FAILED
this is the error
how can i locate the platform
This error means you didn't add a Platform in the Appwrite Console
alright sir, can u tell me how i can add it
@Henry_Dustin
thanks bro
i have done it
is your problem solved?
Recommended threads
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...
- 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...