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');