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
diff options
context:
space:
mode:
authorThomas Steur <tsteur@users.noreply.github.com>2020-08-25 13:55:40 +0300
committerGitHub <noreply@github.com>2020-08-25 13:55:40 +0300
commitbace4f5fc21b0b6c18045943f9bb7d1c5dbe1ce6 (patch)
tree0e9742d9c02680335e6ae6cf481bbca1c1f1a732 /plugins/UserCountryMap
parentcdc9232ee81e679af3d628e92cc13d3e537590ee (diff)
Use relative URLs for svgBasePath (#16341)
refs https://github.com/matomo-org/wp-matomo/issues/335 and https://github.com/matomo-org/matomo/issues/12623 This way it isn't needed to configure proxy headers for the real time map.
Diffstat (limited to 'plugins/UserCountryMap')
-rw-r--r--plugins/UserCountryMap/Controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/UserCountryMap/Controller.php b/plugins/UserCountryMap/Controller.php
index 967c1e018d..36920a51b4 100644
--- a/plugins/UserCountryMap/Controller.php
+++ b/plugins/UserCountryMap/Controller.php
@@ -224,7 +224,7 @@ class Controller extends \Piwik\Plugin\Controller
$view->config = array(
'metrics' => array(),
- 'svgBasePath' => $view->piwikUrl . 'plugins/UserCountryMap/svg/',
+ 'svgBasePath' => 'plugins/UserCountryMap/svg/',
'liveRefreshAfterMs' => $liveRefreshAfterMs,
'_' => $locale,
'reqParams' => $reqParams,