1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-09 12:32:31 +01:00
Radarr/UI/ServerStatus.js

10 lines
197 B
JavaScript

window.ApiRoot = '/api';
var statusText = $.ajax({
type : 'GET',
url : window.ApiRoot + '/system/status',
async: false
}).responseText;
window.ServerStatus = JSON.parse(statusText);