Skip to content

Commit 8fb6384

Browse files
committed
docs: fix documentation for "dotfiles" default value
1 parent 67db1f5 commit 8fb6384

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,13 @@ disk. If `root` is specified, only the dotfiles above the root are
3838
checked (i.e. the root itself can be within a dotfile when set
3939
to "deny").
4040

41-
The default value is `'ignore'`.
42-
4341
- `'allow'` No special treatment for dotfiles.
4442
- `'deny'` Deny a request for a dotfile and 403/`next()`.
4543
- `'ignore'` Pretend like the dotfile does not exist and 404/`next()`.
4644

45+
The default value is similar to `'ignore'`, with the exception that this
46+
default will not ignore the files within a directory that begins with a dot.
47+
4748
##### etag
4849

4950
Enable or disable etag generation, defaults to true.

0 commit comments

Comments
 (0)