mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-12 16:13:58 -07:00
cache busting for js file based on server version.
This commit is contained in:
parent
5c3f0203e5
commit
0916c8b8d1
12 changed files with 205 additions and 126 deletions
16
UI/System/StatusModel.js
Normal file
16
UI/System/StatusModel.js
Normal file
|
@ -0,0 +1,16 @@
|
|||
"use strict";
|
||||
define(
|
||||
[
|
||||
'backbone',
|
||||
'constants'
|
||||
], function (Backbone) {
|
||||
|
||||
var model = Backbone.Model.extend({
|
||||
url: Constants.ApiRoot + '/system/status'
|
||||
});
|
||||
|
||||
|
||||
var instance = new model();
|
||||
instance.fetch();
|
||||
return instance;
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue