diff options
Diffstat (limited to 'plugins/API/Controller.php')
-rw-r--r-- | plugins/API/Controller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/API/Controller.php b/plugins/API/Controller.php index 9801005795..50f149347e 100644 --- a/plugins/API/Controller.php +++ b/plugins/API/Controller.php @@ -52,7 +52,7 @@ class Controller extends \Piwik\Plugin\Controller Piwik::checkUserHasSomeViewAccess(); $ApiDocumentation = new DocumentationGenerator(); - $prefixUrls = Common::getRequestVar('prefixUrl', 'http://demo.piwik.org/', 'string'); + $prefixUrls = Common::getRequestVar('prefixUrl', 'https://demo.matomo.org/', 'string'); if (!UrlHelper::isLookLikeUrl($prefixUrls) || strpos($prefixUrls, 'http') !== 0) { $prefixUrls = ''; } |