- Make all tests pass Client (V4),CRMV2,CRMV4 - Simplify client submodule path - Move App_url to .env.testing
21 lines
386 B
PHP
21 lines
386 B
PHP
<?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(): array
|
|
{
|
|
return [
|
|
$this->allSubdomainsOfApplicationUrl(),
|
|
'172.18.0.6'
|
|
];
|
|
}
|
|
}
|