Skip to content

Commit 2e871e1

Browse files
authored
clarify extensions (#208)
1 parent 8a03f8d commit 2e871e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ app.use(serve(root, opts));
3535
- `gzip` Try to serve the gzipped version of a file automatically when gzip is supported by a client and if the requested file with .gz extension exists. defaults to true.
3636
- `brotli` Try to serve the brotli version of a file automatically when brotli is supported by a client and if the requested file with .br extension exists (note, that brotli is only accepted over https). defaults to true.
3737
- [setHeaders](https://github.com/koajs/send#setheaders) Function to set custom headers on response.
38-
- `extensions` Try to match extensions from passed array to search for file when no extension is sufficed in URL. First found is served. (defaults to `false`)
38+
- `extensions` Try to match extensions from passed array to search for file when no extension is sufficed in URL. First found is served. (defaults to `false`). e.g. `['html']`
3939

4040
## Example
4141

0 commit comments

Comments
 (0)