Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Lidarr/src/commit/7a408f0ed8985fe45873f27dd8ff6cc16861ef22/UI/Series/SeriesCollection.js You should set ROOT_URL correctly, otherwise the web may not work correctly.
Lidarr/UI/Series/SeriesCollection.js

26 lines
575 B

'use strict';
define(
[
'backbone',
'Series/SeriesModel'
], function (Backbone, SeriesModel) {
var Collection = Backbone.Collection.extend({
url : window.ApiRoot + '/series',
model: SeriesModel,
comparator: function (model) {
return model.get('title');
},
state: {
sortKey: 'title',
order : -1
}
});
var collection = new Collection();
collection.fetch();
return collection;
});