From b5d40134cf1be5bdac97ecf8716e1936418e878b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Sverre=20Lien=20Sell=C3=A6g?= Date: Sat, 23 May 2020 15:47:58 +0200 Subject: [PATCH] rename scraped images --- scrape.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrape.js b/scrape.js index 28daee3..482cfe5 100644 --- a/scrape.js +++ b/scrape.js @@ -116,7 +116,7 @@ const save_images = async ({ image = null, event_id }) => { return []; } const original_path = `./events/img/${event_id}.jpg`; - const resized_path = `./events/img/square-${event_id}.jpg`; + const resized_path = `./events/img/${event_id}-square.jpg`; const original = write_image(original_path, image); const resized_square = write_resized(resized_path, image); try {