Fixed Docker not being able to parse PDF Images (#418)

* Fixed an issue with downloading pdf files

* Bumped sentry version to latest

* Refactored PDF Page to image extraction to a private method. Bumped Sentry version in backend.

* Fixed issue with PDFs not being parsable (image) within Docker due to libgdiplus not being installed.
This commit is contained in:
Joseph Milazzo 2021-07-23 10:35:26 -05:00 committed by GitHub
parent b0df67cdda
commit 199ab7946c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 134 additions and 139 deletions

View file

@ -85,6 +85,7 @@ namespace API.Controllers
".epub" => "application/epub+zip",
".7z" => "application/x-7z-compressed",
".7zip" => "application/x-7z-compressed",
".pdf" => "application/pdf",
_ => contentType
};
}