🏗️ Laravel Installation

This commit is contained in:
Rico van Zelst
2023-10-14 17:00:26 +02:00
commit 6aa1f21eb1
79 changed files with 11090 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(),
];
}
}