koel/app/Http/Middleware/TrustHosts.php

17 lines
296 B
PHP
Raw Normal View History

2024-02-25 19:32:53 +00:00
<?php
namespace App\Http\Middleware;
use Illuminate\Http\Middleware\TrustHosts as IlluminateTrustHost;
class TrustHosts extends IlluminateTrustHost
{
/**
* @return array<int, string>
*/
public function hosts(): array
{
return config('app.trusted_hosts');
2024-02-25 19:32:53 +00:00
}
}