Skip to content

Commit

Permalink
document pdf support
Browse files Browse the repository at this point in the history
Comment that files other than pdf may cause download errors

closes #1525
  • Loading branch information
TangoYankee committed May 2, 2024
1 parent 5497ca3 commit c55de7f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/src/document/document.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit c55de7f

Please sign in to comment.