From 6a176913674ff4164b51c09c077acd0e85788eb7 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Wed, 20 Dec 2023 21:37:32 -0500 Subject: [PATCH] lib/mime: update js mime type. --- lib/mime.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mime.js b/lib/mime.js index 41bd2d0..d2466c2 100644 --- a/lib/mime.js +++ b/lib/mime.js @@ -23,7 +23,7 @@ const types = { 'ico': ['image/x-icon', false], 'jpg': ['image/jpeg', false], 'jpeg': ['image/jpeg', false], - 'js': ['application/javascript', true], + 'js': ['text/javascript', true], 'json': ['application/json', true], 'log': ['text/plain', true], 'manifest': ['text/cache-manifest', false],