From c546eef6a9af2a23c642e5f22bd7000e6ace9d97 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Fri, 10 Nov 2023 19:13:48 +0000 Subject: [PATCH] Add jpg to allowed thumbnail extensions --- app/blueprints/thumbnails/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/blueprints/thumbnails/__init__.py b/app/blueprints/thumbnails/__init__.py index 2722e35d..d1169635 100644 --- a/app/blueprints/thumbnails/__init__.py +++ b/app/blueprints/thumbnails/__init__.py @@ -23,7 +23,7 @@ bp = Blueprint("thumbnails", __name__) ALLOWED_RESOLUTIONS = [(100, 67), (270, 180), (350, 233), (1100, 520)] -ALLOWED_EXTENSIONS = {"png", "webp"} +ALLOWED_EXTENSIONS = {"png", "webp", "jpg"} def mkdir(path):