Add config

This commit is contained in:
dtonon 2026-03-25 22:29:46 +01:00
parent 2f91fe8572
commit dd3343184d
3 changed files with 15 additions and 2 deletions

View file

@ -7,11 +7,11 @@
import { page } from "$app/state";
import { onMount } from "svelte";
import { restoreSession } from "$lib/auth.svelte";
import { MODE } from "$lib/config";
let { children } = $props();
// In full mode, extract active room from the URL
const mode: "simple" | "full" = "full";
const mode = MODE;
const chatEnabled = true;
onMount(restoreSession);