This commit is contained in:
Olusesan Ameye
2020-09-07 10:33:03 -04:00
parent c2d2897ad8
commit 4c6d4d98f0
401 changed files with 47976 additions and 1 deletions
@@ -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(),
];
}
}