-
-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dev mode ignores dotfiles #51
Comments
Thanks for the report – this is fixed in |
Closed via #64 |
I can still reproduce this with sirv v1.0.0. If I set |
@lukeed Thank you for adding some tests with d01fe72. However, the assertions in “should reject hidden files by default (dev: true)” aren’t executed because the catch block is never called. In fact, the status code is 200 OK for all three responses. |
If
dev
mode is enabled,dotfiles
is ignored.For example, a file named
.foo.txt
is served indev
mode even ifdotfiles
is set tofalse
.The text was updated successfully, but these errors were encountered: