mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
feat: delete the added model #503 and display an error message when the requested file fails to parse #684 (#708)
### What problem does this PR solve? feat: delete the added model #503 feat: display an error message when the requested file fails to parse #684 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -69,6 +69,8 @@ export const FileMimeTypeMap = {
|
||||
mp4: 'video/mp4',
|
||||
};
|
||||
|
||||
export const Domain = 'demo.ragflow.io';
|
||||
|
||||
//#region file preview
|
||||
export const Images = [
|
||||
'jpg',
|
||||
@ -84,7 +86,7 @@ export const Images = [
|
||||
];
|
||||
|
||||
// Without FileViewer
|
||||
export const ExceptiveType = ['xlsx', 'xls', 'pdf', ...Images];
|
||||
export const ExceptiveType = ['xlsx', 'xls', 'pdf', 'docx', ...Images];
|
||||
|
||||
export const SupportedPreviewDocumentTypes = ['docx', 'csv', ...ExceptiveType];
|
||||
export const SupportedPreviewDocumentTypes = [...ExceptiveType];
|
||||
//#endregion
|
||||
|
||||
Reference in New Issue
Block a user