Settings manages folders, thumbnail defaults, and passwords for the signed-in account, and choosing an image now browses saved stills instead of only the desktop file dialog. Co-authored-by: Cursor <cursoragent@cursor.com>
6 lines
232 B
TypeScript
6 lines
232 B
TypeScript
export default defineEventHandler(async (event) => {
|
|
const body = await readBody<{ folderId?: string }>(event).catch(() => ({} as { folderId?: string }))
|
|
clearFolderUnlock(event, body?.folderId)
|
|
return publicLibrary(event)
|
|
})
|