mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-31 07:52:37 +01:00
10 lines
197 B
JavaScript
10 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);
|