adding added ad slot support for adddss

This commit is contained in:
legop3
2026-08-01 01:58:34 -04:00
parent 7fdcb53041
commit 3ebd1c7f9c
16 changed files with 198 additions and 73 deletions
@@ -61,6 +61,7 @@ const {
kofiLink,
serverTimezone,
configuredSocials,
driverAd,
ACTIVITY_SYNC_COOLDOWN_MS,
GPIO_TOGGLE_SYNC_COOLDOWN_MS,
PERIODIC_SYNC_MS,
@@ -209,6 +210,13 @@ function buildSession(socket) {
adminReason: getAdminReason(),
users,
socials,
/*
This is intentionally raw, operator-authored HTML. The browser only
mounts it on the desktop driver page, but keeping it in the ordinary
session payload makes the server configuration the single source of
truth and avoids a separate endpoint for one small optional card.
*/
driverAd,
discord: {
invite: discordInvite,
},