Optimisations and updated readme

This commit is contained in:
2026-07-14 12:50:52 +01:00
parent 9709457b73
commit ff23474a54
33 changed files with 3073 additions and 2426 deletions
+2 -1
View File
@@ -59,6 +59,7 @@ function normalizeScheduleMode(value) {
return 'always';
}
function getAuditUserId(req) {
return req && req.currentUser ? Number(req.currentUser.id) : null;
}
@@ -807,7 +808,7 @@ async function start() {
const sent = command === 'blackout'
? await notifyPlayerScreens(slugs, {
command: 'blackout',
blackout: !['0', 'false', 'off', 'restore'].includes(String(req.body.blackout || '').trim().toLowerCase())
blackout: req.body.blackout
})
: await notifyPlayerScreens(slugs, command);
await broadcastDashboardState();