From cd71151712bb37a49d958cf2f70a63760f24f795 Mon Sep 17 00:00:00 2001 From: Metrokoto <161226960+Metrokoto@users.noreply.github.com> Date: Sat, 11 Jan 2025 02:57:13 -1000 Subject: [PATCH] Change application/javascript to text/javascript to match RFC 9239 application/javascript has been obsoleted by RFC 9239. The new MIME type for JavaScript files is text/javascript. This commit will update NGINX to follow the RFC 9239 behaviour. --- conf/mime.types | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/mime.types b/conf/mime.types index 1c00d701a..29e83f057 100644 --- a/conf/mime.types +++ b/conf/mime.types @@ -5,7 +5,7 @@ types { text/xml xml; image/gif gif; image/jpeg jpeg jpg; - application/javascript js; + text/javascript js; application/atom+xml atom; application/rss+xml rss;