mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-26 09:47:39 +00:00
11 lines
262 B
JavaScript
11 lines
262 B
JavaScript
window.ApiRoot = '/api';
|
|
|
|
var statusText = $.ajax({
|
|
type : 'GET',
|
|
url : window.ApiRoot + '/system/status',
|
|
async: false
|
|
}).responseText;
|
|
|
|
window.ServerStatus = JSON.parse(statusText);
|
|
|
|
$('#footer-region .version').html(window.ServerStatus.version);
|