Skip to content

Extract CORS to a standalone extension #6309

@hacksparrow

Description

@hacksparrow

CORS should not be baked in into the framework, especially with defaults. Configuring CORS is a error-prone, complicated task, we should let users take 100% responsibility of setting it up themselves; and disabling CORS should simply mean "not using the CORS extension".

Acceptance criteria

  • Remove all CORS related code from the core framework
  • Create a new CORS extension from the removed code
  • Update app generator to use the new extension
  • Update relevant docs

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions