mirror your GitHub repos to tangled.org automatically
1

Configure Feed

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

1import { requireSession } from '#server/utils/server-session' 2 3/** 4 * Lightweight session probe for the Nuxt `authenticated` middleware. Returns 5 * the session payload on success, 401 otherwise. The dashboard endpoint 6 * already requires a session, but the middleware needs a cheap call that 7 * doesn't touch the DB. 8 */ 9export default defineEventHandler(async event => { 10 const session = await requireSession(event) 11 return session 12})