mirror of
https://github.com/Fluffy-Bean/GameExpo23.git
synced 2025-05-18 01:14:59 +00:00
Resize images to max 512px in resolution
This commit is contained in:
parent
fdac4dc402
commit
a5143f9335
5 changed files with 23 additions and 11 deletions
|
@ -3,7 +3,7 @@ from os import getenv
|
|||
|
||||
UPLOAD_DIR = "/data/uploads"
|
||||
UPLOAD_EXTENSIONS = ["png", "jpg", "jpeg", "gif"]
|
||||
UPLOAD_RESOLUTION = (512, 512)
|
||||
UPLOAD_RESOLUTION = 512
|
||||
UPLOAD_MAX_SIZE = 3 * 1024 * 1024 # 3MB
|
||||
|
||||
GAME_VERSION = "alpha"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue