First auth tests around profile

This commit is contained in:
PovilasKorop
2021-10-31 18:48:55 +02:00
commit 583796d502
129 changed files with 239714 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(),
];
}
}