From ed243da56f73518cad53a0c949e85273e30d8cf3 Mon Sep 17 00:00:00 2001 From: tree Date: Thu, 7 Mar 2024 18:04:21 +0100 Subject: [PATCH] fix thumbs (2) --- utils/engine.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/engine.js b/utils/engine.js index a6b5f0d..6267d14 100644 --- a/utils/engine.js +++ b/utils/engine.js @@ -69,8 +69,8 @@ export class Engine { if (!match) { continue } - const thumbKey = match[1] - const imageKey = match[2] + const thumbKey = 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}` }