From 5ceeef61523b6b46c91f537c3764c8b44588af6a Mon Sep 17 00:00:00 2001 From: Joe Wicentowski Date: Sat, 22 Jun 2024 14:29:29 -0400 Subject: [PATCH] fix: align mime types with eXist 3.0.0+ see https://github.com/eXist-db/exist/pull/1136 --- src/util.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util.js b/src/util.js index 8396866c..4470c92d 100644 --- a/src/util.js +++ b/src/util.js @@ -288,12 +288,12 @@ eXide.util.mimeTypes = (function () { 'xquery': ['application/xquery'], 'css': ['text/css'], 'html': ['text/html'], - 'javascript': ['application/x-javascript'], + 'javascript': ['application/javascript'], 'text': ['text/text'], 'less': ['application/less'], 'tmsnippet': ['application/tmsnippet'], 'json': ['application/json'], - 'markdown': ['text/x-markdown'] + 'markdown': ['text/markdown'] }; return {