aboutsummaryrefslogtreecommitdiff
path: root/app/Http/Middleware/TrustHosts.php
diff options
context:
space:
mode:
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(),
- ];
- }
-}