import { useSession } from 'vinxi/http' export type SessionData = { sessionId?: string } export const getSession = () => { return useSession({ password: process.env.COOKIE_SECRET || 'complex_password_at_least_32_characters_long', }) }