Update web.php

This commit is contained in:
Julian Prieber 2023-05-28 18:13:02 +02:00
parent 0220530725
commit 33ccdd8271

View File

@ -223,7 +223,7 @@ Route::group([
});
// 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 () {
return view('maintenance');
})->where('any', '.*');