first commit

This commit is contained in:
joao.gustavo committed 2021-01-21 19:03:09 -03:00
commit acd41e72a0
83 files changed
+9090

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
*/
public function hosts()
{
return [
$this->allSubdomainsOfApplicationUrl(),
];
}
}