Create project

This commit is contained in:
Александр Бабкин
2022-06-23 14:16:52 +03:00
parent 72c4821a80
commit 55913e04bb
83 changed files with 10832 additions and 23 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(),
];
}
}