1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-10-31 16:02:29 +01:00
Sonarr/UI/ServerStatus.js

10 lines
197 B
JavaScript
Raw Normal View History

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