From 4fd2d55cbd9ac723f1de82fe37e76b89bf071958 Mon Sep 17 00:00:00 2001 From: n07070 Date: Sun, 17 May 2026 00:52:16 +0200 Subject: [PATCH] Closes #24 : Add webp as allowed extension --- src/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.py b/src/main.py index 2aee46b..3c449c4 100644 --- a/src/main.py +++ b/src/main.py @@ -44,7 +44,7 @@ from web import Web # Wrapper for the web routes and API app = Flask(__name__) socketio = SocketIO(app) -ALLOWED_EXTENSIONS = {"png", "jpg", "jpeg", "gif"} +ALLOWED_EXTENSIONS = {"png", "jpg", "jpeg", "gif","webp"} # Load the configuration file try: