Shift core files

This commit is contained in:
Shift
2023-01-07 19:53:57 +00:00
parent 74bd29e1ee
commit 953afd6b70
3 changed files with 20 additions and 24 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(),
];
}
}