Initial commit

This commit is contained in:
Zakwan Hamdan
2020-10-19 10:12:55 +08:00
commit 60afe5d1ba
300 changed files with 144332 additions and 0 deletions
+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(),
];
}
}