davide.cucurnia@vola.it
2024-02-05 ca6434daa9ea96df47c3197391a75a06466ebfc0
commit | author | age
9f6455 1 <?php
DC 2
3 namespace App\Http\Middleware;
4
5 use Illuminate\Http\Middleware\TrustHosts as Middleware;
6
7 class TrustHosts extends Middleware
8 {
9     /**
10      * Get the host patterns that should be trusted.
11      *
12      * @return array<int, string|null>
13      */
14     public function hosts()
15     {
16         return [
17             $this->allSubdomainsOfApplicationUrl(),
18         ];
19     }
20 }