Access to XMLHttpRequest at 'http://localhost:5000/registerclient' from origin 'http://localhost:5173' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: The 'Access-Control-Allow-Origin' header has a value 'http://localhost:5000' that is not equal to the supplied origin. please help
im trying to do one signup page for clients and another page for babysitters, i did 2 schemas and i connected to the backend, i did authRoute page in backend and inside i wrote router.use(cors({credentials:true, origin: "http://localhost:5000"})
Recommended threads
- i need help!
I was working on my project and I just can't stop receiving this message. Is something wrong?
- Request for JWKS Endpoint and OIDC Disco...
Hey Appwrite Team, Do you have plans to support JWKS and a well-known OIDC discovery endpoint? This would let us verify Appwrite JWTs in other services using st...
- Sites are not opening
my all sites are not opening so plz check what is the issue, when i am opening the sites showing an error like, Access to XMLHttpRequest at 'https://cloud.appw...