Info Tab und MFA
This commit is contained in:
@@ -488,7 +488,9 @@ let lastHash = null;
|
||||
|
||||
async function checkForUpdates() {
|
||||
try {
|
||||
const res = await fetch(`/playlist/${site}/${screen}/hash`, { cache: "no-store" });
|
||||
const w = window.screen ? window.screen.width : '?';
|
||||
const h = window.screen ? window.screen.height : '?';
|
||||
const res = await fetch(`/playlist/${site}/${screen}/hash?w=${w}&h=${h}`, { cache: "no-store" });
|
||||
const data = await res.json();
|
||||
const hash = data.hash;
|
||||
const serverStayOnFirst = data.stay_on_first;
|
||||
|
||||
Reference in New Issue
Block a user