Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Readarr/blame/commit/4ad7ce83630912c593e1229b9d57862a41350e95/UI/Mixins/AutoComplete.js You should set ROOT_URL correctly, otherwise the web may not work correctly.
Readarr/UI/Mixins/AutoComplete.js

24 lines
611 B

"use strict";
define(['app'], function () {
$.fn.autoComplete = function (resource) {
$(this).typeahead({
source : function (filter, callback) {
$.ajax({
url : NzbDrone.Constants.ApiRoot + resource,
dataType: "json",
type : "GET",
data : { query: filter },
success : function (data) {
callback(data);
}
});
},
minLength: 3,
items :20
});
};
});