Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
9b637881
Commit
9b637881
authored
Jan 17, 2024
by
Marclass
Browse files
Update constants.ts
include new upload types in front end
parent
8dacc86a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
src/lib/constants.ts
src/lib/constants.ts
+7
-3
No files found.
src/lib/constants.ts
View file @
9b637881
...
...
@@ -13,10 +13,14 @@ export const REQUIRED_OLLAMA_VERSION = '0.1.16';
export
const
SUPPORTED_FILE_TYPE
=
[
'
application/pdf
'
,
'
application/vnd.openxmlformats-officedocument.wordprocessingml.document
'
,
'
text/markdown
'
,
'
text/plain
'
,
'
text/csv
'
'
text/csv
'
,
'
text/xml
'
,
'
text/x-python
'
,
'
text/css
'
,
'
application/vnd.openxmlformats-officedocument.wordprocessingml.document
'
,
'
application/octet-stream
'
,
'
application/x-javascript
'
,
];
// Source: https://kit.svelte.dev/docs/modules#$env-static-public
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment