diff --git a/src/RoutingContext.php b/src/RoutingContext.php index 4c37e6d..5054060 100644 --- a/src/RoutingContext.php +++ b/src/RoutingContext.php @@ -24,7 +24,7 @@ class RoutingContext { public function registerDefaultErrorPages(): void { $this->router->get('/error-401.html', fn() => $this->templating->render('errors/401')); $this->router->get('/error-403.html', fn() => $this->templating->render('errors/403')); - $this->router->get('/error-404.html', fn() => $this->templating->render('errors/504')); + $this->router->get('/error-404.html', fn() => $this->templating->render('errors/404')); $this->router->get('/error-500.html', fn() => $this->templating->render('errors/500')); $this->router->get('/error-503.html', fn() => $this->templating->render('errors/503'));