Skip to content

feat: handle entire CORS process (preflight handling) #388

Open
@aigoncharov

Description

@aigoncharov

Routing-controllers allows to set config for 'cors' module, but it doesn't enabling handling of pre-flight requests https://github.com/expressjs/cors#enabling-cors-pre-flight
I suggest to expose another option to createExpressServer (like 'handleCorsPreflight') to enable it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    flag: needs discussionIssues which needs discussion before implementation.type: featureIssues related to new features.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions