Fix linking for /dashboard-solo/ proxy prefix (#5116)

Fixes #5109
This commit is contained in:
David J. Felix 2016-05-20 08:01:12 -04:00 committed by Torkel Ödegaard
parent 9c672f6ec1
commit 441682b598

View File

@ -75,7 +75,7 @@ function (angular, _, require, config) {
$scope.iframeHtml = '<iframe src="' + soloUrl + '" width="450" height="200" frameborder="0"></iframe>';
$scope.imageUrl = soloUrl.replace('/dashboard-solo/', '/render/dashboard-solo/');
$scope.imageUrl = soloUrl.replace(config.appSubUrl + '/dashboard-solo/', config.appSubUrl + '/render/dashboard-solo/');
$scope.imageUrl += '&width=1000';
$scope.imageUrl += '&height=500';
};