mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 17:52:38 +08:00
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:
parent
57d54fd922
commit
cd71151712
@ -5,7 +5,7 @@ types {
|
|||||||
text/xml xml;
|
text/xml xml;
|
||||||
image/gif gif;
|
image/gif gif;
|
||||||
image/jpeg jpeg jpg;
|
image/jpeg jpeg jpg;
|
||||||
application/javascript js;
|
text/javascript js;
|
||||||
application/atom+xml atom;
|
application/atom+xml atom;
|
||||||
application/rss+xml rss;
|
application/rss+xml rss;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user