aboutsummaryrefslogtreecommitdiff
path: root/app/Http/Middleware/TrustHosts.php
diff options
context:
space:
mode:
authorfloppydiskette <git@diskfloppy.me>2024-08-08 22:22:38 +0100
committerfloppydiskette <git@diskfloppy.me>2024-08-08 22:22:38 +0100
commit04fc009874db2d539ad881b649f7ebb512f05312 (patch)
tree9934681b96c15ceffbc9ce8d682621ff875f1b4f /app/Http/Middleware/TrustHosts.php
parentfc5cd70e729f639aaf1c6ff6a4bf3d5d52664de9 (diff)
Init rails apprails
Diffstat (limited to 'app/Http/Middleware/TrustHosts.php')
-rw-r--r--app/Http/Middleware/TrustHosts.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/app/Http/Middleware/TrustHosts.php b/app/Http/Middleware/TrustHosts.php
deleted file mode 100644
index c9c58bd..0000000
--- a/app/Http/Middleware/TrustHosts.php
+++ /dev/null
@@ -1,20 +0,0 @@
-<?php
-
-namespace App\Http\Middleware;
-
-use Illuminate\Http\Middleware\TrustHosts as Middleware;
-
-class TrustHosts extends Middleware
-{
- /**
- * Get the host patterns that should be trusted.
- *
- * @return array<int, string|null>
- */
- public function hosts(): array
- {
- return [
- $this->allSubdomainsOfApplicationUrl(),
- ];
- }
-}