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:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user