Skip to content

Commit b3575d4

Browse files
committed
docs: remove code inline docs
1 parent 2498a9a commit b3575d4

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

index.js

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -17,30 +17,6 @@ var send = require('send');
1717
var url = require('url');
1818

1919
/**
20-
* Static:
21-
*
22-
* Static file server with the given `root` path.
23-
*
24-
* Examples:
25-
*
26-
* var oneDay = 86400000;
27-
* var serveStatic = require('serve-static');
28-
*
29-
* connect()
30-
* .use(serveStatic(__dirname + '/public'))
31-
*
32-
* connect()
33-
* .use(serveStatic(__dirname + '/public', { maxAge: oneDay }))
34-
*
35-
* Options:
36-
*
37-
* - `maxAge` Browser cache maxAge in milliseconds. defaults to 0
38-
* - `hidden` Allow transfer of hidden files. defaults to false
39-
* - `redirect` Redirect to trailing "/" when the pathname is a dir. defaults to true
40-
* - `index` Default file name, defaults to 'index.html'
41-
*
42-
* Further options are forwarded on to `send`.
43-
*
4420
* @param {String} root
4521
* @param {Object} options
4622
* @return {Function}

0 commit comments

Comments
 (0)