From 61df77fc8331995988f3629d0193dcc395c8bc98 Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 27 Oct 2023 16:17:38 +0300 Subject: [PATCH] make banners 1600 instead of 1200 --- files/routes/comments.py | 2 +- files/routes/holes.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/routes/comments.py b/files/routes/comments.py index 9e027a862..d1a755466 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -207,7 +207,7 @@ def comment(v): if post_target.id == SIDEBAR_THREAD: process_sidebar_or_banner('sidebar', 400) elif post_target.id == BANNER_THREAD: - banner_width = 1200 + banner_width = 1600 process_sidebar_or_banner('banners', banner_width) elif post_target.id == BADGE_THREAD: try: diff --git a/files/routes/holes.py b/files/routes/holes.py index a469b6834..0f6fd0773 100644 --- a/files/routes/holes.py +++ b/files/routes/holes.py @@ -521,7 +521,7 @@ def upload_hole_banner(v, hole): name = f'/images/{time.time()}'.replace('.','') + '.webp' file.save(name) - bannerurl = process_image(name, v, resize=1200) + bannerurl = process_image(name, v, resize=1600) hole.bannerurls.append(bannerurl)