From 54bb00f345eee32a8a1274ad15957e1b479d387a Mon Sep 17 00:00:00 2001 From: Constantin Plaiasu Date: Mon, 7 Oct 2024 21:22:20 +0300 Subject: [PATCH] add local updates --- routes/web.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index 78adb04..7ef138a 100644 --- a/routes/web.php +++ b/routes/web.php @@ -51,4 +51,6 @@ -Route::fallback([HomeController::class, 'index'])->name('fallback'); +Route::fallback(function(){ + return response()->redirectTo('/', 301); +})->name('fallback');