From 561a4f7bcfe6737c37213749b7c36b02bcd7a18c Mon Sep 17 00:00:00 2001 From: Chaim Date: Sat, 4 Apr 2026 12:44:30 +0000 Subject: [PATCH] Allow .md file uploads alongside PDF, DOCX, RTF, TXT Co-Authored-By: Claude Opus 4.6 (1M context) --- web/app.py | 2 +- web/static/index.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/app.py b/web/app.py index 228ae50..6e03b7a 100644 --- a/web/app.py +++ b/web/app.py @@ -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 diff --git a/web/static/index.html b/web/static/index.html index a4c3f60..4f6d071 100644 --- a/web/static/index.html +++ b/web/static/index.html @@ -389,7 +389,7 @@ header nav a:hover, header nav a.active { color: #fff; background: rgba(255,255,

גרור קבצים לכאן או לחץ לבחירה

PDF, DOCX, RTF, TXT — עד 50MB

- +
@@ -412,7 +412,7 @@ header nav a:hover, header nav a.active { color: #fff; background: rgba(255,255,
📄

גרור קבצים לכאן או לחץ לבחירה

PDF, DOCX, RTF, TXT — עד 50MB

- +