Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _includes/readmes/serve-index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var serveIndex = require('serve-index')

### serveIndex(path, options)

Returns middlware that serves an index of the directory in the given `path`.
Returns middleware that serves an index of the directory in the given `path`.

The `path` is based off the `req.url` value, so a `req.url` of `'/some/dir`
with a `path` of `'public'` will look at `'public/some/dir'`. If you are using
Expand Down
Loading