mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
11 lines
292 B
JavaScript
11 lines
292 B
JavaScript
function getConfig() {
|
|
return fetch("/config.json?nocache=" + new Date().getUTCMilliseconds()).then(function (response) {
|
|
return response.json();
|
|
});
|
|
}
|
|
|
|
export function enableMultiServer() {
|
|
return getConfig().then(config => {
|
|
return config.multiserver;
|
|
});
|
|
}
|