rules,about,tos markdown

This commit is contained in:
2026-05-23 21:48:47 +02:00
parent 7155b3a7da
commit 1aaa0493a9
4 changed files with 12 additions and 9 deletions

View File

@@ -1080,6 +1080,9 @@ process.on('uncaughtException', err => {
get about_text() { return getAboutText(); },
get rules_text() { return getRulesText(); },
get terms_text() { return getTermsText(); },
get about_text_b64() { return Buffer.from(getAboutText() || '').toString('base64'); },
get rules_text_b64() { return Buffer.from(getRulesText() || '').toString('base64'); },
get terms_text_b64() { return Buffer.from(getTermsText() || '').toString('base64'); },
get halls() { return getHalls(); },
halls_enabled: cfg.websrv.halls_enabled !== false,
userhalls_enabled: cfg.websrv.userhalls_enabled !== false,