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:
authordiosmosis <benaka@piwik.pro>2015-10-18 05:06:43 +0300
committerdiosmosis <benaka@piwik.pro>2015-10-27 07:47:03 +0300
commit8472c54fa7dfeff8c2558f4a91b1f6d1ddcc977d (patch)
tree915ade5cdb0ed879edf96cafa30dca6a0aaf5808 /config
parentde483434a50e1a262056d63426ad17d1b9159414 (diff)
Try to fix CORS issues in travis when port 3000 is used for Piwik.
Diffstat (limited to 'config')
-rw-r--r--config/environment/ui-test.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/environment/ui-test.php b/config/environment/ui-test.php
index 17a0656282..0c64153013 100644
--- a/config/environment/ui-test.php
+++ b/config/environment/ui-test.php
@@ -2,6 +2,11 @@
return array(
+ 'Piwik\Config' => \DI\decorate(function (\Piwik\Config $config) {
+ $config->General['cors_domains'][] = '*';
+ return $config;
+ }),
+
'observers.global' => array(
array('Request.dispatch.end', function (&$result) {