From 83a80e67f11948bbcbccb960ceda7f53a4a5d375 Mon Sep 17 00:00:00 2001 From: Hani Rouatbi Date: Sun, 27 Aug 2023 11:05:17 +0100 Subject: [PATCH 1/2] Add ndjson extension to mime types --- src/GeneratedExtensionToMimeTypeMap.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/GeneratedExtensionToMimeTypeMap.php b/src/GeneratedExtensionToMimeTypeMap.php index 72f515f..5f5feec 100644 --- a/src/GeneratedExtensionToMimeTypeMap.php +++ b/src/GeneratedExtensionToMimeTypeMap.php @@ -644,6 +644,7 @@ class GeneratedExtensionToMimeTypeMap implements ExtensionToMimeTypeMap, Extensi 'nbp' => 'application/vnd.wolfram.player', 'nc' => 'application/x-netcdf', 'ncx' => 'application/x-dtbncx+xml', + 'ndjson' => 'application/x-ndjson', 'nfo' => 'text/x-nfo', 'ngdat' => 'application/vnd.nokia.n-gage.data', 'nitf' => 'application/vnd.nitf', From 462d36161610837b2bc49a427abc71581e96b141 Mon Sep 17 00:00:00 2001 From: "H.Rouatbi" Date: Tue, 17 Oct 2023 14:44:03 +0100 Subject: [PATCH 2/2] Update FlysystemProvidedMimeTypeProvider.php --- src/Generation/FlysystemProvidedMimeTypeProvider.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Generation/FlysystemProvidedMimeTypeProvider.php b/src/Generation/FlysystemProvidedMimeTypeProvider.php index 6d6435b..3d92fc1 100644 --- a/src/Generation/FlysystemProvidedMimeTypeProvider.php +++ b/src/Generation/FlysystemProvidedMimeTypeProvider.php @@ -185,6 +185,7 @@ public function provideMimeTypes(): array new MimeTypeForExtension('application/vnd.oasis.opendocument.text-template', 'ott'), new MimeTypeForExtension('application/STEP', 'step'), new MimeTypeForExtension('application/STEP', 'stp'), + new MimeTypeForExtension('application/x-ndjson', 'ndjson'), ]; } }