Merge pull request #401 from u5surf/js-mime-rfc9239

Change MIME-Type of javascript
This commit is contained in:
Yosh 2022-06-07 15:43:18 +02:00 committed by GitHub
commit 8101b90999
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ macro_rules! mime_const {
};
}
utf8_mime_const!(JAVASCRIPT, "JavaScript", "application", "javascript");
utf8_mime_const!(JAVASCRIPT, "JavaScript", "text", "javascript");
utf8_mime_const!(CSS, "CSS", "text", "css");
utf8_mime_const!(HTML, "HTML", "text", "html");
utf8_mime_const!(PLAIN, "Plain text", "text", "plain");