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

23 lines
588 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
});
};
});