Files
2026-09-21 10:14:57 +01:00

21 lines
361 B
PHP
Executable File

<?php
namespace Modules\M3\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(),
];
}
}