Files
ntspi-app/app/Ship/Middleware/TrustHosts.php
T
2026-03-20 21:47:02 +05:00

21 lines
391 B
PHP
Executable File

<?php
namespace App\Ship\Middleware;
use App\Ship\Abstracts\Middleware\TrustHosts as AbstractMiddleware;
class TrustHosts extends AbstractMiddleware
{
/**
* Get the host patterns that should be trusted.
*
* @return array<int, string|null>
*/
public function hosts()
{
return [
$this->allSubdomainsOfApplicationUrl(),
];
}
}