refactor: 移除对.doc文件格式的支持

This commit is contained in:
Wenjie Zhang 2025-12-18 11:27:21 +08:00
parent fbf4ec8cce
commit 98fdce0e79
3 changed files with 0 additions and 3 deletions

View File

@ -25,7 +25,6 @@ knowledge = APIRouter(prefix="/knowledge", tags=["knowledge"])
media_types = {
".pdf": "application/pdf",
".docx": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
".doc": "application/msword",
".txt": "text/plain",
".md": "text/markdown",
".json": "application/json",

View File

@ -24,7 +24,6 @@ from src.utils import hashstr, logger
SUPPORTED_FILE_EXTENSIONS: tuple[str, ...] = (
".txt",
".md",
".doc",
".docx",
".html",
".htm",

View File

@ -186,7 +186,6 @@ const DEFAULT_SUPPORTED_TYPES = [
'.jpeg',
'.md',
'.docx',
'.doc',
];
const normalizeExtensions = (extensions) => {