aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/helpers/handlebars/componentPermalink.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/helpers/handlebars/componentPermalink.js')
-rw-r--r--server/sonar-web/src/main/js/helpers/handlebars/componentPermalink.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/helpers/handlebars/componentPermalink.js b/server/sonar-web/src/main/js/helpers/handlebars/componentPermalink.js
index a259f0f1c19..9a58d761cb2 100644
--- a/server/sonar-web/src/main/js/helpers/handlebars/componentPermalink.js
+++ b/server/sonar-web/src/main/js/helpers/handlebars/componentPermalink.js
@@ -18,5 +18,5 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
module.exports = function (componentKey) {
- return '/dashboard/index?id=' + encodeURIComponent(componentKey);
+ return window.baseUrl + '/dashboard/index?id=' + encodeURIComponent(componentKey);
};