Skip to content

Commit

Permalink
🩹 Always register the default route (#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
Log1x authored Mar 18, 2024
1 parent dc3cff1 commit 6841732
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Roots/Acorn/Bootloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,7 @@ protected function bootHttp(): void

$kernel->bootstrap($request);

if ($this->shouldHandleDefaultRequest()) {
$this->registerDefaultRoute();
}
$this->registerDefaultRoute();

try {
$route = $this->app->make('router')->getRoutes()->match($request);
Expand Down

0 comments on commit 6841732

Please sign in to comment.