Passage à Laravel 10 pour Fortify Bootstrap

This commit is contained in:
hugol
2024-08-11 15:38:19 +02:00
parent f28e5700e8
commit 0c4e5538db
96 changed files with 16694 additions and 1962 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(),
];
}
}