forked from open-webui/open-webui
Update constants.ts
include new upload types in front end
This commit is contained in:
parent
8dacc86ab0
commit
9b63788135
1 changed files with 7 additions and 3 deletions
|
@ -13,10 +13,14 @@ export const REQUIRED_OLLAMA_VERSION = '0.1.16';
|
||||||
|
|
||||||
export const SUPPORTED_FILE_TYPE = [
|
export const SUPPORTED_FILE_TYPE = [
|
||||||
'application/pdf',
|
'application/pdf',
|
||||||
'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
|
||||||
'text/markdown',
|
|
||||||
'text/plain',
|
'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
|
// Source: https://kit.svelte.dev/docs/modules#$env-static-public
|
||||||
|
|
Loading…
Reference in a new issue