Fix LoRA folder drops not appearing without weakening engine filters.
Stop empty Comfy blips from freezing the LoRA cache timestamp, and refresh the picker list from Comfy on each poll. Engine tagging (flux/krea) and xaigen platform filtering stay as they were. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import { listStudioLoras } from '~/server/utils/loras'
|
||||
|
||||
export default defineEventHandler(async () => {
|
||||
const listed = await listStudioLoras()
|
||||
export default defineEventHandler(async (event) => {
|
||||
const fresh = String(getQuery(event).fresh || '') === '1'
|
||||
const listed = await listStudioLoras({ fresh })
|
||||
return {
|
||||
image: listed.image,
|
||||
video: listed.video
|
||||
|
||||
Reference in New Issue
Block a user