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.
This commit is contained in:
Metrokoto 2025-01-11 02:57:13 -10:00 committed by GitHub
parent 57d54fd922
commit cd71151712
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;