Skip to content

Commit

Permalink
Allow the OPTIONS method for static resources
Browse files Browse the repository at this point in the history
Fixes quarkusio#32696

(cherry picked from commit 703ae09)
  • Loading branch information
gsmet committed Apr 25, 2023
1 parent 2e0a45e commit 9c9421c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ public void accept(Route route) {
// No other HTTP methods should be used
route.method(HttpMethod.GET);
route.method(HttpMethod.HEAD);
route.method(HttpMethod.OPTIONS);
for (Handler<RoutingContext> i : handlers) {
route.handler(i);
}
Expand Down

0 comments on commit 9c9421c

Please sign in to comment.