mac: harden webchat panel

This commit is contained in:
Peter Steinberger
2025-12-09 21:43:54 +01:00
parent 6675c273fd
commit 510552c5e6
3 changed files with 64 additions and 12 deletions

View File

@@ -264,6 +264,7 @@ const startChat = async () => {
startChat().catch((err) => {
const msg = err?.stack || err?.message || String(err);
logStatus(`boot failed: ${msg}`);
document.body.dataset.webchatError = "1";
document.body.style.color = "#e06666";
document.body.style.fontFamily = "monospace";
document.body.style.padding = "16px";