diff options
author | kolaente <konrad@kola-entertainments.de> | 2018-11-03 13:20:02 +0100 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2018-11-03 14:20:02 +0200 |
commit | 54259e2f880365d65340ade6608007b3c5eb2ed5 (patch) | |
tree | 5f0ef9f94bbffbe2f5297f630e6fc879fa82689e /public | |
parent | 225c48982b501597b2368b65400e6294eca3e261 (diff) | |
download | gitea-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.js | 2 |
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 |