From f5e5bc2362bbd10ac2eafa07a50c2c51b32601fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Munsch?= Date: Thu, 23 Mar 2023 16:45:55 +0100 Subject: [PATCH] Fixes #3 add missing abort 404 on route fallback --- routes/web-fo.php | 1 + 1 file changed, 1 insertion(+) diff --git a/routes/web-fo.php b/routes/web-fo.php index 54fae43..000eb9a 100644 --- a/routes/web-fo.php +++ b/routes/web-fo.php @@ -104,4 +104,5 @@ Route::fallback(function () { if (request()->getHost() === config('app.egg_domain')) { return redirect(config('app.url')); } + abort(404); });