diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-02-02 09:59:36 +0100 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2016-02-19 11:01:56 +0100 |
commit | 2ee64e504b6921fd2d2f2d183e425904bc492c9d (patch) | |
tree | 37b02f07c7a819f4cd9f41d2a1b83ac37445c376 /server/sonar-web/src/main/js/api/system.js | |
parent | 0c2b2d0afe3f28f7075fcadb78a81c59a21b34d3 (diff) | |
download | sonarqube-2ee64e504b6921fd2d2f2d183e425904bc492c9d.tar.gz sonarqube-2ee64e504b6921fd2d2f2d183e425904bc492c9d.zip |
SONAR-7122 drop web context from js code
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 25b52880f9b..13efcd502cc 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 = window.baseUrl + '/api/system/change_log_level'; + const url = '/api/system/change_log_level'; const data = { level }; return post(url, data); } export function getSystemInfo () { - const url = window.baseUrl + '/api/system/info'; + const url = '/api/system/info'; return getJSON(url); } export function getStatus () { - const url = window.baseUrl + '/api/system/status'; + const url = '/api/system/status'; return getJSON(url); } export function restart () { - const url = window.baseUrl + '/api/system/restart'; + const url = '/api/system/restart'; return post(url); } |