We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We need ability to customize OPTIONS auto-response per group:
$group = Group::create('/v1') ->withAutoOptions(MyCustomMiddleware::class, CorsMiddleware::class) ->routes(...)
A group should add new OPTIONS route with the middleware specified for each unique pattern.
The use case is the following.
/v1/**
/v2/**
OPTIONS
Remove ability to disable auto-OPTIONS in router. Either it's sane defaults or using your own middleware.
The text was updated successfully, but these errors were encountered:
b1d59b1
No branches or pull requests
What
We need ability to customize OPTIONS auto-response per group:
How
A group should add new OPTIONS route with the middleware specified for each unique pattern.
Why?
The use case is the following.
/v1/**
and/v2/**
endpoint groups and want to apply different CORS middleware to both.OPTIONS
with all the methods available.Additionally
Remove ability to disable auto-OPTIONS in router. Either it's sane defaults or using your own middleware.
The text was updated successfully, but these errors were encountered: