Skip to content

Set up Basic CORS Configuration #9

Description

@kunalverma2512

Currently, the backend doesn't explicitly define strict CORS (Cross-Origin Resource Sharing) policies. Install the cors npm package in the backend, configure it in app.js to initially only accept requests from http://localhost:5173 (our Vite frontend), and handle pre-flight routes properly.

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions