[READ-ONLY] One Calendar is a privacy-first calendar web app built with Next.js. It has modern security features, including e2ee, password-protected sharing, and self-destructing share links 馃搮 calendar.xyehr.cn
nextjs
0

Configure Feed

Select the types of activity you want to include in your feed.

One-Calendar / lib / auth / server.ts
178 B 6 lines
1import { headers } from 'next/headers' 2import { auth } from '@/lib/auth' 3 4export async function getServerSession() { 5 return auth.api.getSession({ headers: await headers() }) 6}