更新缩略图

This commit is contained in:
2026-07-03 00:15:41 +08:00
parent 7bb0531c4b
commit 273892f98f
15 changed files with 416 additions and 61 deletions
+6
View File
@@ -51,3 +51,9 @@ export async function fetchHealth() {
export function generatedUrl(name) {
return `${BASE}/images/${name}`
}
/** Small thumbnail URL for list views. The server falls back to the original
* when no thumbnail object exists (old images), so this is always safe. */
export function thumbUrl(name) {
return `${BASE}/images/${name}.thumb.jpg`
}