integrate laravel framework

This commit is contained in:
xiaomlove
2021-04-02 19:48:41 +08:00
parent fe8c7683b8
commit e48461546f
96 changed files with 10107 additions and 207 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(),
];
}
}