This commit is contained in:
2023-03-03 13:45:51 +01:00
parent 7a06ea248e
commit 3d13369e05
92 changed files with 15859 additions and 66 deletions

View File

@@ -0,0 +1,20 @@
<?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(),
];
}
}