mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-09 14:37:36 +01:00
Add jpg to allowed thumbnail extensions
This commit is contained in:
parent
4578cb157f
commit
c546eef6a9
@ -23,7 +23,7 @@ bp = Blueprint("thumbnails", __name__)
|
|||||||
|
|
||||||
|
|
||||||
ALLOWED_RESOLUTIONS = [(100, 67), (270, 180), (350, 233), (1100, 520)]
|
ALLOWED_RESOLUTIONS = [(100, 67), (270, 180), (350, 233), (1100, 520)]
|
||||||
ALLOWED_EXTENSIONS = {"png", "webp"}
|
ALLOWED_EXTENSIONS = {"png", "webp", "jpg"}
|
||||||
|
|
||||||
|
|
||||||
def mkdir(path):
|
def mkdir(path):
|
||||||
|
Loading…
Reference in New Issue
Block a user