Soumission initiale

This commit is contained in:
2021-04-27 18:40:17 +02:00
commit 3273929ca4
83 changed files with 10527 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
*/
public function hosts()
{
return [
$this->allSubdomainsOfApplicationUrl(),
];
}
}