Add jpg to allowed thumbnail extensions

This commit is contained in:
rubenwardy 2023-11-10 19:13:48 +00:00
parent 4578cb157f
commit c546eef6a9

@ -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):