Web Developer
please someone should help me i deploy my real time chatting app but resquest is blocked due to cors policy
Votes
0
Replies
14
Participants
Unknown
Messages
15
Web Developer
please someone should help me i deploy my real time chatting app but resquest is blocked due to cors policy
Rank 5: Hypervisor
You need to add a Platform from the Appwrite Console
Web Developer
please direct me on how to do it
Rank 5: Hypervisor
Web Developer
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
Rank 5: Hypervisor
You need to add a Platform
Web Developer
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
Web Developer
this is the error
Web Developer
how can i locate the platform
Rank 5: Hypervisor
This error means you didn't add a Platform in the Appwrite Console
Web Developer
alright sir, can u tell me how i can add it
Rank 5: Hypervisor
@Henry_Dustin
Web Developer
thanks bro
Web Developer
i have done it
is your problem solved?