unsa-pis-be/app/Http/Middleware/TrustHosts.php
Christian Dacid Sullca Puma 1d272affe2 V1.0.0
2022-06-13 20:21:39 -05:00

21 lines
372 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()
{
return [
$this->allSubdomainsOfApplicationUrl(),
];
}
}