forked from open-webui/open-webui
refac: frontend supported file extensions
This commit is contained in:
parent
2e4373c63e
commit
29dd973db9
3 changed files with 23 additions and 13 deletions
|
@ -21,9 +21,11 @@ export const SUPPORTED_FILE_TYPE = [
|
|||
'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
||||
'application/octet-stream',
|
||||
'application/x-javascript',
|
||||
'text/markdown',
|
||||
'text/markdown'
|
||||
];
|
||||
|
||||
export const SUPPORTED_FILE_EXTENSIONS = ['md', 'rst'];
|
||||
|
||||
// Source: https://kit.svelte.dev/docs/modules#$env-static-public
|
||||
// This feature, akin to $env/static/private, exclusively incorporates environment variables
|
||||
// that are prefixed with config.kit.env.publicPrefix (usually set to PUBLIC_).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue