2023-03-17 14:33:48 +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 = [
|
2024-03-01 13:04:29 +00:00
|
|
|
'webhooks/*',
|
2024-03-04 10:41:02 +00:00
|
|
|
'/api/health'
|
2023-03-17 14:33:48 +00:00
|
|
|
];
|
|
|
|
}
|