mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-04-02 20:51:03 +02:00
Update web.php
This commit is contained in:
parent
b2705ec9a6
commit
603a392a7b
@ -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');
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user