Delete library stills from disk before the catalog write, and stop caching their media.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Towsty
2026-10-25 17:55:30 -05:00
co-authored by Cursor
parent 545a3d749b
commit 20359bfbd4
26 changed files with 635 additions and 247 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
import { publicLibrary, publicLibraryPage } from '~/server/utils/library'
import { publicLibrary, publicLibraryPage, setLibraryMediaHeaders } from '~/server/utils/library'
export default defineEventHandler((event) => {
setLibraryMediaHeaders(event)
const query = getQuery(event)
const light = String(query.light || '') === '1'
const full = String(query.full || '') === '1'