Something went wrong. Try again.
👁️
Something went wrong. Try again.
359 B · 14 lines
TypeScript
at main
123456789101112131415/** * Application initialization * Run once on client-side startup to initialize OAuth and worker */
import { initializeWorker } from "./cards-worker-client";import { initializeOAuth } from "./oauth-config";
export function initializeApp() { if (import.meta.env.SSR || typeof window === "undefined") return;
initializeOAuth(); initializeWorker();}