aboutsummaryrefslogtreecommitdiff
path: root/app/Http/Middleware/PreventRequestsDuringMaintenance.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Http/Middleware/PreventRequestsDuringMaintenance.php')
-rw-r--r--app/Http/Middleware/PreventRequestsDuringMaintenance.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/app/Http/Middleware/PreventRequestsDuringMaintenance.php b/app/Http/Middleware/PreventRequestsDuringMaintenance.php
new file mode 100644
index 0000000..74cbd9a
--- /dev/null
+++ b/app/Http/Middleware/PreventRequestsDuringMaintenance.php
@@ -0,0 +1,17 @@
+<?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 = [
+ //
+ ];
+}