Refactoring

This commit is contained in:
2022-09-05 14:41:20 +02:00
parent 457f7ee11c
commit bcbd0c7faf
93 changed files with 11092 additions and 48 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(),
];
}
}