Lae/app/Http/Middleware/PreventRequestsDuringMaintenance.php

20 lines
420 B
PHP
Raw Normal View History

2022-11-06 11:28:22 +00:00
<?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance as Middleware;
class PreventRequestsDuringMaintenance extends Middleware
{
/**
* The URIs that should be reachable while maintenance mode is enabled.
*
* @var array<int, string>
*/
protected $except = [
2022-11-14 10:57:31 +00:00
// except modules
'admin/*',
2023-01-30 16:14:07 +00:00
'remote/*',
2022-11-06 11:28:22 +00:00
];
}