// Development defaults. In production, Nix writes this file per host // (websocket, domains, name, palette) and the build stays identical. window.config = { name: "0ff chat", // Relative paths resolve against the page's own origin (ws: or wss:). websocket: "/xmpp-websocket", domain: "0ff.space", mucDomain: "muc.0ff.space", // Attachments from these hosts are shown inline; others stay links. mediaHosts: ["upload.0ff.space"], };