appQQQ commited on
Commit
882babf
·
verified ·
1 Parent(s): 54a58bd

feat: markdown upload support — app/services/ingestion.py

Browse files
Files changed (1) hide show
  1. app/services/ingestion.py +2 -0
app/services/ingestion.py CHANGED
@@ -90,6 +90,8 @@ def _sniff_mime(filename: str, head: bytes) -> str:
90
  ".jpeg": "image/jpeg",
91
  ".tiff": "image/tiff",
92
  ".html": "text/html",
 
 
93
  }.get(ext, "application/octet-stream")
94
 
95
 
 
90
  ".jpeg": "image/jpeg",
91
  ".tiff": "image/tiff",
92
  ".html": "text/html",
93
+ ".md": "text/markdown",
94
+ ".markdown": "text/markdown",
95
  }.get(ext, "application/octet-stream")
96
 
97