Skip to content

Commit

Permalink
routing: default router matches page-route by default
Browse files Browse the repository at this point in the history
  • Loading branch information
g105b committed Feb 2, 2022
1 parent 985fd9f commit 1b855b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion router.default.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function api(Request $request, PathMatcher $pathMatcher):void {
}
}

#[Any(name: "page-route", accept: "text/html,application/xhtml+xml")]
#[Any(name: "page-route", accept: "text/html,application/xhtml+xml,*.*")]
public function page(
Request $request
):void {
Expand Down

0 comments on commit 1b855b7

Please sign in to comment.