mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-27 02:07:41 +00:00
9 lines
197 B
JavaScript
9 lines
197 B
JavaScript
window.ApiRoot = '/api';
|
|
|
|
var statusText = $.ajax({
|
|
type : 'GET',
|
|
url : window.ApiRoot + '/system/status',
|
|
async: false
|
|
}).responseText;
|
|
|
|
window.ServerStatus = JSON.parse(statusText);
|