릴리스: v1.3.34 관리자 아이템 라이브러리 정리

This commit is contained in:
2026-04-01 15:59:09 +09:00
parent 6bbbbc1633
commit fb00ddb1d8
6 changed files with 291 additions and 84 deletions

View File

@@ -75,7 +75,7 @@ async function optimizeAndPersist({ file, width, height, fit, quality }) {
}
}
const filename = String(Date.now()) + '-' + nanoid() + '.webp'
const filename = nanoid() + '.webp'
const absoluteDir = path.join(UPLOAD_ROOT, OPTIMIZED_DIR)
const absolutePath = path.join(absoluteDir, filename)
const src = '/uploads/' + OPTIMIZED_DIR + '/' + filename