Lidarr/UI/ServerStatus.js

8 lines
158 B
JavaScript
Raw Normal View History

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