summaryrefslogtreecommitdiffstats
path: root/public
diff options
context:
space:
mode:
authorkolaente <konrad@kola-entertainments.de>2018-11-03 13:20:02 +0100
committerLauris BH <lauris@nix.lv>2018-11-03 14:20:02 +0200
commit54259e2f880365d65340ade6608007b3c5eb2ed5 (patch)
tree5f0ef9f94bbffbe2f5297f630e6fc879fa82689e /public
parent225c48982b501597b2368b65400e6294eca3e261 (diff)
downloadgitea-54259e2f880365d65340ade6608007b3c5eb2ed5.tar.gz
gitea-54259e2f880365d65340ade6608007b3c5eb2ed5.zip
Fixed wrong api request url for instances running in subfolders (#5247)
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 0bc28c4f96..9aafa7d646 100644
--- a/public/js/index.js
+++ b/public/js/index.js
@@ -2626,7 +2626,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