👁️
at main 14 lines 359 B view raw
1/** 2 * Application initialization 3 * Run once on client-side startup to initialize OAuth and worker 4 */ 5 6import { initializeWorker } from "./cards-worker-client"; 7import { initializeOAuth } from "./oauth-config"; 8 9export function initializeApp() { 10 if (import.meta.env.SSR || typeof window === "undefined") return; 11 12 initializeOAuth(); 13 initializeWorker(); 14}