mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-15 07:22:35 +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);
|