diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2020-08-25 13:55:40 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-25 13:55:40 +0300 |
commit | bace4f5fc21b0b6c18045943f9bb7d1c5dbe1ce6 (patch) | |
tree | 0e9742d9c02680335e6ae6cf481bbca1c1f1a732 /plugins/UserCountryMap | |
parent | cdc9232ee81e679af3d628e92cc13d3e537590ee (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.php | 2 |
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, |