mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-02-02 04:16:44 +01:00
Update web.php
This commit is contained in:
parent
0220530725
commit
33ccdd8271
@ -223,7 +223,7 @@ Route::group([
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Displays Maintenance Mode page
|
// Displays Maintenance Mode page
|
||||||
if(env('MAINTENANCE_MODE') == 'true' or file_exists(base_path("storage/MAINTENANCE"))){
|
if(env('MAINTENANCE_MODE') == 'true'){
|
||||||
Route::get('/{any}', function () {
|
Route::get('/{any}', function () {
|
||||||
return view('maintenance');
|
return view('maintenance');
|
||||||
})->where('any', '.*');
|
})->where('any', '.*');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user