Skip to content
New issue

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

fix: auto reply to OPTIONS requests only when unhandled #4559

Merged
merged 1 commit into from Sep 7, 2022

Commits on Sep 6, 2022

  1. fix: auto reply to OPTIONS requests only when unhandled

    Prior to this change the internal options middleware always responsed to such requests. This is because the middleware was registered too early and was not being used as a fallback. With this change we register this middleware as the last middleware to ensure that this is only used as a fallback when OPTIONS requests are not handled.
    
    Closes webpack#4551
    alan-agius4 committed Sep 6, 2022
    Copy the full SHA
    cb813e4 View commit details
    Browse the repository at this point in the history