From 9794dfc0613c3d004ea70d726494076a57f5628f Mon Sep 17 00:00:00 2001 From: Aevann Date: Sun, 5 Nov 2023 00:13:32 +0200 Subject: [PATCH] fix sidebar resizing --- files/routes/holes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/holes.py b/files/routes/holes.py index 16c1d7efa..ffb98a762 100644 --- a/files/routes/holes.py +++ b/files/routes/holes.py @@ -528,7 +528,7 @@ def upload_hole_sidebar(v, hole): name = f'/images/{time.time()}'.replace('.','') + '.webp' file.save(name) - sidebarurl = process_image(name, v, resize=1600) + sidebarurl = process_image(name, v, resize=400) hole.sidebarurls.append(sidebarurl)