Skip to content

Commit

Permalink
Allow the OPTIONS method for static resources
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmet authored and holly-cummins committed Apr 20, 2023
1 parent 876c86b commit cd6ed9b
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 cd6ed9b

Please sign in to comment.