From 3d7f414205fbe638e5434109a5c1489d67b3dcbc Mon Sep 17 00:00:00 2001 From: Stephane de Labrusse Date: Tue, 10 Dec 2024 18:47:05 +0100 Subject: [PATCH 1/2] fix(config): remove wasm duplicated mime type from nginx --- imageroot/actions/create-module/20expandconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/imageroot/actions/create-module/20expandconfig b/imageroot/actions/create-module/20expandconfig index 3160904..8a4955e 100755 --- a/imageroot/actions/create-module/20expandconfig +++ b/imageroot/actions/create-module/20expandconfig @@ -38,7 +38,6 @@ http { # Set .mjs and wasm that is missing in the mime.types types { text/javascript mjs; - application/wasm wasm; } default_type application/octet-stream; From 5bbdc6fd85087c35646b86fd872151eeee2530d2 Mon Sep 17 00:00:00 2001 From: Stephane de Labrusse Date: Wed, 11 Dec 2024 11:49:38 +0100 Subject: [PATCH 2/2] fix(config): update comment to reflect correct mime type for .mjs --- imageroot/actions/create-module/20expandconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imageroot/actions/create-module/20expandconfig b/imageroot/actions/create-module/20expandconfig index 8a4955e..6c6aed5 100755 --- a/imageroot/actions/create-module/20expandconfig +++ b/imageroot/actions/create-module/20expandconfig @@ -35,7 +35,7 @@ events { http { include /etc/nginx/mime.types; - # Set .mjs and wasm that is missing in the mime.types + # Set .mjs that is missing in the mime.types types { text/javascript mjs; }