MCPcopy Create free account
hub / github.com/emwalker/digraph / DELETE

Function DELETE

next/app/session/route.ts:40–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38
39// logout
40export async function DELETE() {
41 const session = await getIronSession<SessionData>(cookies(), sessionOptions)
42
43 session.destroy()
44
45 return Response.json(defaultSession)
46}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected