ipkn / crow

Crow is very fast and easy to use C++ micro web framework (inspired by Python Flask)
BSD 3-Clause "New" or "Revised" License
7.46k stars 889 forks source link

CORS policy #365

Open Shriyanshmit opened 4 years ago

Shriyanshmit commented 4 years ago

Access to XMLHttpRequest at 'http://192.168.36.247:18000/AuthenticateUserTest' from origin 'http://localhost:4200' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

The-EDev commented 3 years ago

I'm not sure how /AuthenticateUserTest works, but it doesn't seem related to Crow itself, rather the route code.