Your ROOT_URL in app.ini is https://git.cloudchain.link/ but you are visiting https://dash.bss.nz/open-source-mirrors/Sonarr/blame/commit/7f59062215adead244e71df51ccfbb8c261f9329/UI/Quality/QualityProfileCollection.js
You should set ROOT_URL correctly, otherwise the web may not work correctly.
|
|
|
|
'use strict';
|
|
|
|
|
define(
|
|
|
|
|
[
|
|
|
|
|
'backbone',
|
|
|
|
|
'Quality/QualityProfileModel'
|
|
|
|
|
], function (Backbone, QualityProfileModel) {
|
|
|
|
|
|
|
|
|
|
var QualityProfileCollection = Backbone.Collection.extend({
|
|
|
|
|
model: QualityProfileModel,
|
|
|
|
|
url : window.ApiRoot + '/qualityprofiles'
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
var profiles = new QualityProfileCollection();
|
|
|
|
|
|
|
|
|
|
profiles.fetch();
|
|
|
|
|
|
|
|
|
|
return profiles;
|
|
|
|
|
});
|