Upgrade Laravel to 10.0.0

This commit is contained in:
craig committed 2023-04-09 10:35:40 +00:00
1 parent 45af9dd591
commit 1396c31ca5
84 files changed
+2766 -2958

No files matched your search

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