Compose brings up registry:3 plus a Prisma/SQLite Nuxt app for docker login, ACL management, and image browsing with shadcn-vue. Co-authored-by: Cursor <cursoragent@cursor.com>
8 lines
163 B
TypeScript
8 lines
163 B
TypeScript
export default defineEventHandler(async (event) => {
|
|
const user = await readSessionUser(event)
|
|
if (!user) {
|
|
return { user: null }
|
|
}
|
|
return { user }
|
|
})
|