sonarr-repo-only/UI/ServerStatus.js

8 lines
158 B
JavaScript
Raw Normal View History

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