Skip to content

Setup CORS Middleware #490

@Yunusabdul38

Description

@Yunusabdul38

Setup CORS Middleware

Description

Configure Tower-HTTP CORS middleware to allow requests from specific frontend origins.

Requirements

  • Simple implementation with clear documentation.
  • Follow Rust best practices.
  • Ensure CI checks pass.

Task for Contributor

  • Implement the basic setup.
  • Add at least one unit test.
  • Update README if applicable.

Verification

  • Run 'cargo test' and ensure it passes.
  • Verify locally with 'cargo run' or manual curl.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions