diff options
author | Stefan Giehl <stefan@matomo.org> | 2021-09-21 23:20:13 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-21 23:20:13 +0300 |
commit | 8c3f495c64a5209f0110f49588c4840ff2cd07fe (patch) | |
tree | f25173b9c49143889412040eefd7e2099b7c8bc7 /config | |
parent | 85d46c82c7f8a409505bd2ca0474365bf75dbbd4 (diff) |
Improves Overlay UI tests (#17920)
Diffstat (limited to 'config')
-rw-r--r-- | config/environment/ui-test.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config/environment/ui-test.php b/config/environment/ui-test.php index aae19a5bb6..3e4c9a6d41 100644 --- a/config/environment/ui-test.php +++ b/config/environment/ui-test.php @@ -12,6 +12,7 @@ return array( 'Piwik\Config' => \DI\decorate(function (\Piwik\Config $config) { $config->General['cors_domains'][] = '*'; + $config->General['trusted_hosts'][] = '127.0.0.1'; $config->General['trusted_hosts'][] = $config->tests['http_host']; $config->General['trusted_hosts'][] = $config->tests['http_host'] . ':' . $config->tests['port']; return $config; |