turtle-wow-source-kinda/Dumps/Source Code/8 - Development_website/develop/app/Http/Middleware/TrustHosts.php
Brian Oost a1d5bb70b2 Init
2024-08-06 18:06:40 +02:00

21 lines
379 B
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(),
];
}
}