summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorkolaente <konrad@kola-entertainments.de>2018-11-03 22:43:11 +0100
committertechknowlogick <hello@techknowlogick.com>2018-11-03 17:43:11 -0400
commitf95c9667707376626f810abbb2e738e766003185 (patch)
tree92fb1b3f5a245d44bb059ffe006cb65caab94617 /public
parent14a074f97917b580ccd5360e5a15ebb9f5c933ff (diff)
downloadgitea-f95c9667707376626f810abbb2e738e766003185.tar.gz
gitea-f95c9667707376626f810abbb2e738e766003185.zip
Backported wrong api request url for instances running in subfolders (#5247) (#5261)
Diffstat (limited to 'public')
-rw-r--r--public/js/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/js/index.js b/public/js/index.js
index 7700093598..fad531cc49 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -2621,7 +2621,7 @@ function initIssueList() {
$('.new-dependency-drop-list')
.dropdown({
apiSettings: {
- url: '/api/v1/repos' + repolink + '/issues?q={query}',
+ url: suburl + '/api/v1/repos' + repolink + '/issues?q={query}',
onResponse: function(response) {
var filteredResponse = {'success': true, 'results': []};
// Parse the response from the api to work with our dropdown