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

24 lines
606 B

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