summaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/api/system.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/api/system.js')
-rw-r--r--server/sonar-web/src/main/js/api/system.js8
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);
}