From b61a2edf231f1132a257d416909411f887a7030a Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Wed, 15 Jun 2016 13:11:59 +0200 Subject: [PATCH] fix double web context when request l10n messages --- server/sonar-web/src/main/js/helpers/l10n.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/sonar-web/src/main/js/helpers/l10n.js b/server/sonar-web/src/main/js/helpers/l10n.js index e81d86f8d9f..c3eadcab7bb 100644 --- a/server/sonar-web/src/main/js/helpers/l10n.js +++ b/server/sonar-web/src/main/js/helpers/l10n.js @@ -41,7 +41,7 @@ function getCurrentLocale () { } function makeRequest (params) { - const url = window.baseUrl + '/api/l10n/index'; + const url = '/api/l10n/index'; return request(url) .setData(params) -- 2.39.5