diff --git a/lightrag_webui/src/lib/constants.ts b/lightrag_webui/src/lib/constants.ts index 488db2e8..1644450a 100644 --- a/lightrag_webui/src/lib/constants.ts +++ b/lightrag_webui/src/lib/constants.ts @@ -31,10 +31,6 @@ export const supportedFileTypes = { 'text/plain': [ '.txt', '.md', - '.pdf', - '.docx', - '.pptx', - '.xlsx', '.rtf', //# Rich Text Format '.odt', // # OpenDocument Text '.tex', // # LaTeX @@ -69,8 +65,10 @@ export const supportedFileTypes = { ], 'application/pdf': ['.pdf'], 'application/msword': ['.doc'], + 'application/vnd.ms-excel': ['.xls'], 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': ['.docx'], - 'application/vnd.openxmlformats-officedocument.presentationml.presentation': ['.pptx'] + 'application/vnd.openxmlformats-officedocument.presentationml.presentation': ['.pptx'], + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': ['.xlsx'] } export const SiteInfo = {