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/324195eb233a8e1583e21c744244a92a45c1f59b/UI/Series/SeriesCollection.js You should set ROOT_URL correctly, otherwise the web may not work correctly.
Sonarr/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;
});