From 603a392a7bc838903ffcbb71e4ee1fc22b9259b7 Mon Sep 17 00:00:00 2001 From: Julian Prieber <60265788+JulianPrieber@users.noreply.github.com> Date: Thu, 25 May 2023 21:47:36 +0200 Subject: [PATCH] Update web.php --- routes/web.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/routes/web.php b/routes/web.php index 36fe39d..d2f97ed 100755 --- a/routes/web.php +++ b/routes/web.php @@ -223,11 +223,6 @@ Route::group([ }); // ENd Admin authenticated routes }); - - if(config('advanced-config.custom_url_prefix') == ""){ - Route::get('/{littlelink}', [UserController::class, 'littlelink'])->name('littlelink'); - } - // Displays Maintenance Mode page if(env('MAINTENANCE_MODE') == 'true' or file_exists(base_path("storage/MAINTENANCE"))){ Route::get('/{any}', function () { @@ -235,5 +230,8 @@ Route::get('/{any}', function () { })->where('any', '.*'); } - require __DIR__.'/auth.php'; + +if(config('advanced-config.custom_url_prefix') == ""){ + Route::get('/{littlelink}', [UserController::class, 'littlelink'])->name('littlelink'); +} \ No newline at end of file