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