mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-10 15:23:40 -07:00
No more caching of log files, also better handling of logs on page load
This commit is contained in:
parent
7d9eaf8cfc
commit
ee2973efe7
8 changed files with 85 additions and 36 deletions
|
@ -4,5 +4,14 @@ define(
|
|||
'backbone'
|
||||
], function (Backbone) {
|
||||
return Backbone.Model.extend({
|
||||
url: function () {
|
||||
return '/log/' + this.get('filename');
|
||||
},
|
||||
|
||||
parse: function (contents) {
|
||||
var response = {};
|
||||
response.contents = contents;
|
||||
return response;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue