This commit is contained in:
tree🌴 2024-03-16 06:19:40 +01:00
parent 0d39ad172b
commit f8b0345198
1 changed files with 3 additions and 0 deletions

View File

@ -61,6 +61,9 @@ export class Engine {
ev.thumbs = {}
// scan for thumbnails
if (!await exists(join(yearDir, "thumbs"))) {
continue
}
for await (const ti of Deno.readDir(join(yearDir, "thumbs"))) {
const [name, ext] = ti.name.split('.')