diff options
author | diosmosis <benaka@piwik.pro> | 2015-10-27 10:45:53 +0300 |
---|---|---|
committer | diosmosis <benaka@piwik.pro> | 2015-10-27 10:45:53 +0300 |
commit | cd9f9da2c76807d4e1748db08a0aebdedfab0cf7 (patch) | |
tree | a915f67ea91dc0cd8c332b158000af3b60b00a68 /config | |
parent | 07a1609223dd8af58811852919c37a19f2716d6b (diff) |
Remove trusted host change and try to fix w/ ui-test.php config modification.
Diffstat (limited to 'config')
-rw-r--r-- | config/environment/ui-test.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/environment/ui-test.php b/config/environment/ui-test.php index fefb038673..eaccd94bee 100644 --- a/config/environment/ui-test.php +++ b/config/environment/ui-test.php @@ -4,6 +4,8 @@ return array( 'Piwik\Config' => \DI\decorate(function (\Piwik\Config $config) { $config->General['cors_domains'][] = '*'; + $config->trusted_hosts[] = $config->tests['http_host']; + $config->trusted_hosts[] = $config->tests['http_host'] . ':' . $config->tests['port']; return $config; }), |