Something went wrong. Try again.
atmo.rsvp
Something went wrong. Try again.
331 B · 7 lines
TypeScript
at main
12345678import { building } from '$app/env';import type { Handle } from '@sveltejs/kit/hooks';import { getAuth } from '#lib/atproto/server/oauth.js';
// The library owns OAuth routes, signed cookies, restoration, and revocation.export const handle: Handle = (input) => building ? input.resolve(input.event) : getAuth().handle(input);