aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/coding-rules/rule/rule-issues-view.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/coding-rules/rule/rule-issues-view.js')
-rw-r--r--server/sonar-web/src/main/js/apps/coding-rules/rule/rule-issues-view.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/coding-rules/rule/rule-issues-view.js b/server/sonar-web/src/main/js/apps/coding-rules/rule/rule-issues-view.js
index afd73aa6957..db19ac674c0 100644
--- a/server/sonar-web/src/main/js/apps/coding-rules/rule/rule-issues-view.js
+++ b/server/sonar-web/src/main/js/apps/coding-rules/rule/rule-issues-view.js
@@ -36,7 +36,7 @@ export default Marionette.ItemView.extend({
requestIssues () {
const that = this;
- const url = '/api/issues/search';
+ const url = window.baseUrl + '/api/issues/search';
const options = {
rules: this.model.id,
resolved: false,
@@ -61,7 +61,7 @@ export default Marionette.ItemView.extend({
return _.extend(Marionette.ItemView.prototype.serializeData.apply(this, arguments), {
total: this.total,
projects: this.projects,
- baseSearchUrl: '/issues/search#resolved=false|rules=' + encodeURIComponent(this.model.id)
+ baseSearchUrl: window.baseUrl + '/issues/search#resolved=false|rules=' + encodeURIComponent(this.model.id)
});
}
});