Initial commit

This commit is contained in:
Marco Cavalli 2024-10-04 15:29:16 +02:00
commit d7b18a3095
127 changed files with 16738 additions and 0 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(): array
{
return [
$this->allSubdomainsOfApplicationUrl(),
];
}
}