3 namespace App\Http\Middleware;
5 use Illuminate\Http\Middleware\TrustHosts as Middleware;
7 class TrustHosts extends Middleware
10 * Get the host patterns that should be trusted.
12 * @return array<int, string|null>
14 public function hosts()
17 $this->allSubdomainsOfApplicationUrl(),