Files
hiring-test-one/doc/mime-types.md

13 lines
402 B
Markdown
Raw Normal View History

2016-06-20 22:27:55 +01:00
## mime-types
You can set additional mime-type/extension mappings, or override the defaults by setting a `mime` value in the stored config. This value is passed directly to [mime.define()](https://github.com/broofa/node-mime#mimedefine). Example:
```json
{
"mime": {
"text/plain": [ "php", "pl" ]
}
}
```
[Example](https://github.com/75lb/local-web-server/tree/master/example/mime-override).