forked from open-webui/open-webui
add svelte type to RAG
This commit is contained in:
parent
c7cee3ec25
commit
6070e6bcd1
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ def store_doc(
|
|||
"css", "cpp", "hpp","h", "c", "cs", "sql", "log", "ini",
|
||||
"pl" "pm", "r", "dart", "dockerfile", "env", "php", "hs",
|
||||
"hsc", "lua", "nginxconf", "conf", "m", "mm", "plsql", "perl",
|
||||
"rb", "rs", "db2", "scala", "bash", "swift", "vue"
|
||||
"rb", "rs", "db2", "scala", "bash", "swift", "vue", "svelte"
|
||||
]
|
||||
file_ext=file.filename.split(".")[-1].lower()
|
||||
if file.content_type == "application/octet-stream" and file_ext not in (octet_markdown + octet_plain):
|
||||
|
|
Loading…
Reference in a new issue