I know that in version 4.16.3 you updated mime-types to version 2.1.18 (via an update to
but it seems like Express still can’t serve
If I do:
const express = require('express') const app = express() app.use(express.static('docs')) app.listen(8000, () => console.log('Serving at http://localhost:8000!'))
and have a
.wasm file in the
docs folder I’m serving I get an error:
Incorrect response MIME type. Expected 'application/wasm'.
express.static.mime.types['wasm'] = 'application/wasm' fixes the issue for now, just wondering when this will be fixed in the project by default?