Page MenuHomePhorge

TrustHosts.php
No OneTemporary

Authored By
Unknown
Size
379 B
Referenced Files
None
Subscribers
None

TrustHosts.php

<?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(),
];
}
}

File Metadata

Mime Type
text/x-php
Expires
Fri, Apr 24, 10:06 AM (4 d, 13 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18800037
Default Alt Text
TrustHosts.php (379 B)

Event Timeline