fix thumbs (2)

This commit is contained in:
tree🌴 2024-03-07 18:04:21 +01:00
parent 4fb0d84f5b
commit ed243da56f

View file

@ -69,8 +69,8 @@ export class Engine {
if (!match) { if (!match) {
continue continue
} }
const thumbKey = match[1] const thumbKey = match[2]
const imageKey = match[2] const imageKey = match[1]
ev.thumbs[[ imageKey, thumbKey.replace('px', '')].join(':')] = `https://data.web3privacy.info/img/events/${year}/thumbs/${ev.id}-${imageKey}-${thumbKey}.${ext}` ev.thumbs[[ imageKey, thumbKey.replace('px', '')].join(':')] = `https://data.web3privacy.info/img/events/${year}/thumbs/${ev.id}-${imageKey}-${thumbKey}.${ext}`
} }