1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-27 10:17:47 +00:00
Sonarr/UI/ServerStatus.js

10 lines
197 B
JavaScript
Raw Normal View History

window.ApiRoot = '/api';
var statusText = $.ajax({
2013-06-22 06:24:24 +00:00
type : 'GET',
url : window.ApiRoot + '/system/status',
2013-06-21 01:43:58 +00:00
async: false
}).responseText;
window.ServerStatus = JSON.parse(statusText);