Skip to content

Commit 603a392

Browse files
committed
Update web.php
1 parent b2705ec commit 603a392

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

routes/web.php

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -223,17 +223,15 @@
223223
}); // ENd Admin authenticated routes
224224
});
225225

226-
227-
if(config('advanced-config.custom_url_prefix') == ""){
228-
Route::get('/{littlelink}', [UserController::class, 'littlelink'])->name('littlelink');
229-
}
230-
231226
// Displays Maintenance Mode page
232227
if(env('MAINTENANCE_MODE') == 'true' or file_exists(base_path("storage/MAINTENANCE"))){
233228
Route::get('/{any}', function () {
234229
return view('maintenance');
235230
})->where('any', '.*');
236231
}
237232

238-
239233
require __DIR__.'/auth.php';
234+
235+
if(config('advanced-config.custom_url_prefix') == ""){
236+
Route::get('/{littlelink}', [UserController::class, 'littlelink'])->name('littlelink');
237+
}

0 commit comments

Comments
 (0)