From c55de7f520379dfa0bdba8b0a34bd7dbe63b08aa Mon Sep 17 00:00:00 2001 From: tangoyankee Date: Thu, 2 May 2024 10:21:07 -0400 Subject: [PATCH] document pdf support Comment that files other than pdf may cause download errors closes #1525 --- server/src/document/document.service.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/src/document/document.service.ts b/server/src/document/document.service.ts index 58ba7770..9f337990 100644 --- a/server/src/document/document.service.ts +++ b/server/src/document/document.service.ts @@ -81,6 +81,9 @@ function throwNoDocumentError(errorMessage) { ); } +// Only PDF files are officially supported. +// Other formats, especially xml-based microsoft formats like .pptx, +// may cause download errors @Injectable() export class DocumentService { constructor(