diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-03-29 13:41:47 +0200 |
---|---|---|
committer | Teryk Bellahsene <teryk.bellahsene@sonarsource.com> | 2016-03-31 13:09:07 +0200 |
commit | 3142e872bcfa1eba2940efa4e4b45612bfc1dd64 (patch) | |
tree | b4c75819c85e0729d55fccd76660bcee0f8a068b /server/sonar-web/src/main/js/api/system.js | |
parent | 491644917a5ebb44429ef45ee1885ed9728daf56 (diff) | |
download | sonarqube-3142e872bcfa1eba2940efa4e4b45612bfc1dd64.tar.gz sonarqube-3142e872bcfa1eba2940efa4e4b45612bfc1dd64.zip |
SONAR-7494 Web: Reintroduce the web app context
Diffstat (limited to 'server/sonar-web/src/main/js/api/system.js')
-rw-r--r-- | server/sonar-web/src/main/js/api/system.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/api/system.js b/server/sonar-web/src/main/js/api/system.js index 13efcd502cc..25b52880f9b 100644 --- a/server/sonar-web/src/main/js/api/system.js +++ b/server/sonar-web/src/main/js/api/system.js @@ -20,23 +20,23 @@ import { getJSON, post } from '../helpers/request'; export function setLogLevel (level) { - const url = '/api/system/change_log_level'; + const url = window.baseUrl + '/api/system/change_log_level'; const data = { level }; return post(url, data); } export function getSystemInfo () { - const url = '/api/system/info'; + const url = window.baseUrl + '/api/system/info'; return getJSON(url); } export function getStatus () { - const url = '/api/system/status'; + const url = window.baseUrl + '/api/system/status'; return getJSON(url); } export function restart () { - const url = '/api/system/restart'; + const url = window.baseUrl + '/api/system/restart'; return post(url); } |