You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Radarr/UI/ServerStatus.js

12 lines
262 B

window.ApiRoot = '/api';
var statusText = $.ajax({
type : 'GET',
url : window.ApiRoot + '/system/status',
12 years ago
async: false
}).responseText;
window.ServerStatus = JSON.parse(statusText);
$('#footer-region .version').html(window.ServerStatus.version);