Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/src/commit/c4fa61023f8caa1c97c73060282cee4850ffa27c/NzbDrone.Backbone/Shared/AutoComplete.js You should set ROOT_URL correctly, otherwise the web may not work correctly.
Sonarr/NzbDrone.Backbone/Shared/AutoComplete.js

21 lines
556 B

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
});
};
});