Skip to content

Conversation

@philipp-spiess
Copy link

This will temporarily add a mime type for .wasm files as per suggestion in jshttp/mime-types#44 (comment). As soon as an update to the upstream library is made, this change can be removed again.

This will temporarily add a mime type for `.wasm` files as per suggestion in jshttp/mime-types#44 (comment). As soon as an update to the upstream library is made, this change can be removed again.
@philipp-spiess
Copy link
Author

philipp-spiess commented Feb 13, 2018

This fix won't work since files are streamed with send which apparently depends not on mime-types but on node-mime.

.wasm support was added there in broofa/mime@3f775ba so maybe we can simply upgrade that module?

Here's an upstream bug: pillarjs/send#154 (comment)

@philipp-spiess philipp-spiess deleted the patch-1 branch February 13, 2018 17:14
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 this pull request may close these issues.

1 participant