Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

media_types: incorrect mime for javascript - does not match mime-db #5186

Closed
FergoTheGreat opened this issue Jun 28, 2024 · 1 comment · Fixed by #5193
Closed

media_types: incorrect mime for javascript - does not match mime-db #5186

FergoTheGreat opened this issue Jun 28, 2024 · 1 comment · Fixed by #5193
Labels
bug Something isn't working needs triage

Comments

@FergoTheGreat
Copy link

The documentation for media_type claims the mime database comes from mime-db v1.52, yet in deno ".mjs" and ".js" map to "application/javascript" where as in the actual mime-db v1.52 db.json it appears that they map to the correct "text/javascript".

@FergoTheGreat FergoTheGreat added bug Something isn't working needs triage labels Jun 28, 2024
@0f-0b
Copy link
Contributor

0f-0b commented Jun 28, 2024

The database does come from mime-db v1.52.0, but there have been many unreleased changes since, including a fix for this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants