Cleaning (#1)

* Sanctum removed

* Unused middleware classes removed

* Changed default email - Seeder

* Models updated

* Config .env is now smaller

* Not used, so not used - Providers

* Clearing your router of comments
This commit is contained in:
2022-05-19 13:22:51 +02:00
committed by GitHub
parent 500523efd6
commit d118793e01
29 changed files with 187 additions and 534 deletions

View File

@@ -1,20 +1,19 @@
<?php
declare(strict_types=1);
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<int, string|null>
*/
public function hosts()
public function hosts(): array
{
return [
$this->allSubdomainsOfApplicationUrl(),
];
}
}