Allow .md file uploads alongside PDF, DOCX, RTF, TXT

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-04 12:44:30 +00:00
parent 10071d7f18
commit 561a4f7bcf
2 changed files with 3 additions and 3 deletions

View File

@@ -36,7 +36,7 @@ from web.paperclip_client import create_project as pc_create_project, get_projec
logger = logging.getLogger(__name__)
UPLOAD_DIR = config.DATA_DIR / "uploads"
ALLOWED_EXTENSIONS = {".pdf", ".docx", ".rtf", ".txt"}
ALLOWED_EXTENSIONS = {".pdf", ".docx", ".rtf", ".txt", ".md"}
MAX_FILE_SIZE = 50 * 1024 * 1024 # 50MB
# In-memory progress tracking