From ff3e3b583552a3139b575a361c5eb55c71def45f Mon Sep 17 00:00:00 2001 From: Danilo Santana e Silva Date: Wed, 5 Mar 2025 14:14:53 -0300 Subject: [PATCH] Add MIME Types for Apple .ipa and .plist extensions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Distribute proprietary in-house apps to Apple devices Ref: https://support.apple.com/en-gb/guide/deployment/depce7cefc4d/1/web#dep30d16db76 "You may need to configure your web server so the manifest file and app file are transmitted correctly. For the server, add the MIME types to the web service’s MIME types settings: application/octet-stream ipa text/xml plist" --- src/custom-types.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/custom-types.json b/src/custom-types.json index e43733d2..31a9643f 100644 --- a/src/custom-types.json +++ b/src/custom-types.json @@ -128,9 +128,10 @@ }, "application/octet-stream": { "compressible": false, - "extensions": ["buffer"], + "extensions": ["buffer", "ipa"], "sources": [ - "https://github.com/broofa/node-mime/blob/v1.2.11/types/mime.types#L154" + "https://github.com/broofa/node-mime/blob/v1.2.11/types/mime.types#L154", + "https://support.apple.com/en-gb/guide/deployment/depce7cefc4d/1/web#dep30d16db76" ] }, "application/ogg": { @@ -939,7 +940,8 @@ ] }, "text/xml": { - "compressible": true + "compressible": true, + "extensions": ["plist"] }, "text/yaml": { "compressible": true,