feat: add EPUB and MHTML document support

This commit is contained in:
FFFFFFpy
2026-06-16 10:34:58 +09:00
committed by lyingbug
parent fe7aded648
commit e21a5da422
20 changed files with 770 additions and 18 deletions
@@ -288,7 +288,7 @@ func isValidFileType(fileName string) bool {
supportedTypes := []string{
// documents
"docx", "doc", "pdf", "ppt", "pptx",
"docx", "doc", "pdf", "ppt", "pptx", "epub", "mhtml",
// spreadsheets
"xlsx", "xls",
// text / markup