Lidarr/UI/ServerStatus.js

8 lines
158 B
JavaScript
Raw Normal View History

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