From c31156c5bde5409af8192387dd486b5fa6be5757 Mon Sep 17 00:00:00 2001 From: chen Date: Thu, 9 Apr 2026 02:33:23 +0800 Subject: [PATCH] Fix binary wrong size #9 --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index a758c69..286ffae 100755 --- a/index.js +++ b/index.js @@ -181,7 +181,7 @@ function isBase64Encoded(entryResponse) { // FIXME function isBinary(entryResponse) { - return /^image\/|application\/octet-stream/.test(entryResponse.content.mimeType); + return /^image\/|application\/octet-stream|\/octet-stream$/.test(entryResponse.content.mimeType); } function serveEntry(request, response, entry, config) {