diff --git a/files/routes/comments.py b/files/routes/comments.py index 7d3c44bb9..fa6cf2a99 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -222,7 +222,7 @@ def comment(v): g.db.flush() filename = f'files/assets/images/badges/{badge.id}.webp' copyfile(oldname, filename) - process_image(filename, 200) + process_image(filename, 400) requests.post(f'https://api.cloudflare.com/client/v4/zones/{CF_ZONE}/purge_cache', headers=CF_HEADERS, data=f'{{"files": ["https://{SITE}/assets/images/badges/{badge.id}.webp"]}}', timeout=5) except Exception as e: