mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-10 20:59:31 +01:00
Fixed wrong api request url for instances running in subfolders (#5247)
This commit is contained in:
parent
225c48982b
commit
54259e2f88
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue