aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/api/events.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/api/events.js')
-rw-r--r--server/sonar-web/src/main/js/api/events.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/api/events.js b/server/sonar-web/src/main/js/api/events.js
index 8922faa2021..1a4b0bdb473 100644
--- a/server/sonar-web/src/main/js/api/events.js
+++ b/server/sonar-web/src/main/js/api/events.js
@@ -27,7 +27,7 @@ import { getJSON } from '../helpers/request.js';
* @returns {Promise}
*/
export function getEvents (componentKey, categories) {
- const url = '/api/events';
+ const url = window.baseUrl + '/api/events';
const data = { resource: componentKey };
if (categories) {
data.categories = categories;