Files
saas/apps/backend/app/Http/Middleware/TrustHosts.php
AHMET YILMAZ 6e7a8c784b
Some checks failed
CI Pipeline / Lint & Test Frontend (push) Has been cancelled
CI Pipeline / Test Backend (push) Has been cancelled
first intial
2025-09-16 22:59:46 +08: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(),
];
}
}