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

22 lines
613 B

'use strict';
define(
[
'backbone',
'Series/EpisodeModel'
], function (Backbone, EpisodeModel) {
return Backbone.Collection.extend({
url : window.ApiRoot + '/episodes',
model: EpisodeModel,
bySeason: function (season) {
var filtered = this.filter(function (episode) {
return episode.get('seasonNumber') === season;
});
var EpisodeCollection = require('Series/EpisodeCollection');
return new EpisodeCollection(filtered);
}
});
});