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/d64e902fa0b3534c1bbdc213b1ad96e178365606/UI/Logs/Files/Collection.js
You should set ROOT_URL correctly, otherwise the web may not work correctly.
|
|
|
|
'use strict';
|
|
|
|
|
define(['Logs/Files/Model' ],
|
|
|
|
|
function (LogFileModel) {
|
|
|
|
|
return Backbone.Collection.extend({
|
|
|
|
|
url : window.ApiRoot + '/log/files',
|
|
|
|
|
model: LogFileModel,
|
|
|
|
|
|
|
|
|
|
state: {
|
|
|
|
|
sortKey : 'lastWriteTime',
|
|
|
|
|
order : 1
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
});
|