Closes #24 : Add webp as allowed extension

This commit is contained in:
n07070
2026-05-17 00:52:16 +02:00
parent d41114b5a2
commit 4fd2d55cbd

View File

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