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 {