v1.0.3: fix typo in docs

This commit is contained in:
AJ ONeal 2018-08-12 04:03:50 -06:00
parent 39f97c5de8
commit 152fc735ac
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ serve-tpl-attachment
```js
var serveIndex = require('serve-index')({
template: require('serve-tpl-attachment')
template: require('serve-tpl-attachment')()
});
```

View File

@ -1,6 +1,6 @@
{
"name": "serve-tpl-attachment",
"version": "1.0.2",
"version": "1.0.3",
"description": "A template for serve-static with a direct download option (requires serve-index)",
"homepage": "https://git.coolaj86.com/coolaj86/serve-tpl-download.js",
"main": "index.js",