Closes #24 : Add webp as allowed extension
This commit is contained in:
@@ -44,7 +44,7 @@ from web import Web # Wrapper for the web routes and API
|
|||||||
|
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
socketio = SocketIO(app)
|
socketio = SocketIO(app)
|
||||||
ALLOWED_EXTENSIONS = {"png", "jpg", "jpeg", "gif"}
|
ALLOWED_EXTENSIONS = {"png", "jpg", "jpeg", "gif","webp"}
|
||||||
|
|
||||||
# Load the configuration file
|
# Load the configuration file
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user