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