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>
7 lines
248 B
TypeScript
7 lines
248 B
TypeScript
export default defineEventHandler(async (event) => {
|
|
assertLibraryAccess(event)
|
|
const id = getRouterParam(event, 'id')
|
|
const body = await readBody<{ name?: string }>(event)
|
|
return await renameFolder(String(id), String(body?.name || ''))
|
|
})
|