Dough Git

clove/web

src/hooks.client.ts

back to src

/* src/hooks.client.ts
 * DASL-1.2 — (c) Clove Twilight
 */

import { connectLive } from '#lib/scripts/discord.ts';
import { discordId } from '#lib';

// Open the live socket once for the whole visit, rather than per page
connectLive([discordId]);