mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-21 13:37:55 +00:00
updated
This commit is contained in:
parent
45a0eb22e5
commit
2f0b299817
@ -51,7 +51,7 @@ def add_events(sio:socketio):
|
||||
|
||||
ALLOWED_EXTENSIONS = {
|
||||
'txt', 'csv', 'py', 'html', 'js', 'jpg', 'jpeg', 'png', 'gif', 'bmp', 'tiff', 'ico', 'svg', 'mp4', 'mp3', 'avi', 'mov',
|
||||
'doc', 'docx', 'ppt', 'pptx', 'xls', 'xlsx', 'pdf', 'js', "md"
|
||||
'doc', 'docx', 'ppt', 'pptx', 'xls', 'xlsx', 'pdf', 'js', "md", "json"
|
||||
}
|
||||
|
||||
def allowed_file(filename):
|
||||
|
Loading…
Reference in New Issue
Block a user