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

Wrong mime-type for .wasm #303

Closed
mike1808 opened this issue Dec 16, 2017 · 2 comments · Fixed by #328
Closed

Wrong mime-type for .wasm #303

mike1808 opened this issue Dec 16, 2017 · 2 comments · Fixed by #328

Comments

@mike1808
Copy link

mike1808 commented Dec 16, 2017

Mime-type for .wasm should be application/json, but currently its text/html. It can be fixed by upgrading mime-db which is dependency of mime-types. The current version (accroding to the lock file) is 1.30.0

@leo
Copy link
Contributor

leo commented Dec 17, 2017

Will update once the package update is out!

@philipp-spiess
Copy link

Quick update: Static files are served via send which, instead of mime-types, uses mime to determine the mime type (which again uses mime-db).

Now mime is already updated but send is not.

Here's the proper upstream issue to track: pillarjs/send#154

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants