Closed WilliamRagstad closed 3 years ago
Hi @WilliamRagstad you likely have a node_modules
folder that is not correct. You can delete it and run npm install
again to fix it, and run npm ls
to look for any errors about bad dependencies.
To serve static files the type needs to be there, and if you don't want to use the automatic type lookup, if you set the content-type
header yourself, this module will not attempt to look up the type.
I get the error:
On this location https://github.com/pillarjs/send/blob/de073ed3237ade9ff71c61673a34474b30e5d45b/index.js#L838
Please change to: