Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorStefan Giehl <stefan@matomo.org>2021-09-21 23:20:13 +0300
committerGitHub <noreply@github.com>2021-09-21 23:20:13 +0300
commit8c3f495c64a5209f0110f49588c4840ff2cd07fe (patch)
treef25173b9c49143889412040eefd7e2099b7c8bc7 /config
parent85d46c82c7f8a409505bd2ca0474365bf75dbbd4 (diff)
Improves Overlay UI tests (#17920)
Diffstat (limited to 'config')
-rw-r--r--config/environment/ui-test.php1
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;