1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-24 23:37:51 +01:00

19 lines
333 B
PHP
Raw Normal View History

2021-07-30 19:26:02 +02:00
<?php
namespace App\Http\Middleware;
use Illuminate\Http\Middleware\TrustHosts as Middleware;
class TrustHosts extends Middleware
{
/**
* Get the host patterns that should be trusted.
*/
public function hosts(): array
2021-07-30 19:26:02 +02:00
{
return [
$this->allSubdomainsOfApplicationUrl(),
];
}
}