Skip to content

[Backend] — Missing CORS Configuration for Production #669

@Olowodarey

Description

@Olowodarey

Description:
CORS is not properly configured in main.ts. The application needs proper CORS settings for production with specific allowed origins.

Technical Requirements:

  1. Configure CORS with environment-specific origins
  2. Set proper allowed methods and headers
  3. Configure credentials handling
  4. Add preflight caching
  5. Document CORS policy

Acceptance Criteria:

  • CORS configured per environment
  • Allowed origins from env variables
  • Credentials handling correct
  • Preflight caching enabled
  • Documentation complete

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions