aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/metrics/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/metrics/app.js')
-rw-r--r--server/sonar-web/src/main/js/apps/metrics/app.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/metrics/app.js b/server/sonar-web/src/main/js/apps/metrics/app.js
index 2b3194f2bf7..d6318adaef2 100644
--- a/server/sonar-web/src/main/js/apps/metrics/app.js
+++ b/server/sonar-web/src/main/js/apps/metrics/app.js
@@ -63,12 +63,12 @@ var App = new Marionette.Application(),
App.requestDomains = function () {
- return $.get(baseUrl + '/api/metrics/domains').done(function (r) {
+ return $.get('/api/metrics/domains').done(function (r) {
App.domains = r.domains;
});
};
App.requestTypes = function () {
- return $.get(baseUrl + '/api/metrics/types').done(function (r) {
+ return $.get('/api/metrics/types').done(function (r) {
App.types = r.types;
});
};