mgroves / realworld-aspnet-couchbase

Conduit implementation: ASP.NET Core + Couchbase
https://realworld.io
MIT License
12 stars 4 forks source link

Enable CORS #25

Open mgroves opened 1 year ago

mgroves commented 1 year ago

If the backend is about to run on a different host/port than the frontend, make sure to handle OPTIONS too and return correct Access-Control-Allow-Origin and Access-Control-Allow-Headers (e.g. Content-Type).

https://realworld-docs.netlify.app/docs/specs/backend-specs/cors