aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/api/quality-profiles.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/api/quality-profiles.js')
-rw-r--r--server/sonar-web/src/main/js/api/quality-profiles.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/api/quality-profiles.js b/server/sonar-web/src/main/js/api/quality-profiles.js
index 3daf1e6f8f4..69ceca5bb50 100644
--- a/server/sonar-web/src/main/js/api/quality-profiles.js
+++ b/server/sonar-web/src/main/js/api/quality-profiles.js
@@ -20,7 +20,7 @@
import { checkStatus, parseJSON } from '../helpers/request';
export function createQualityProfile (data) {
- const url = '/api/qualityprofiles/create';
+ const url = window.baseUrl + '/api/qualityprofiles/create';
const options = {
method: 'post',
credentials: 'same-origin',