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],