Files
aigen/server/api/library/folders/[id].delete.ts
T
TowstyandCursor 83051e0ea3 Add a persistent clip library with folders, optional password, and hidden-thumbnail glow.
Generated videos save into a chosen folder, sensitive clips skip thumbnails until played, and Docker writes the catalog to a Coolify volume.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-25 18:03:26 -05:00

6 lines
166 B
TypeScript

export default defineEventHandler(async (event) => {
assertLibraryAccess(event)
const id = getRouterParam(event, 'id')
return await deleteFolder(String(id))
})