Skip to content
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

Ignore dot files? #15

Open
dkam opened this issue Aug 23, 2015 · 1 comment
Open

Ignore dot files? #15

dkam opened this issue Aug 23, 2015 · 1 comment

Comments

@dkam
Copy link
Contributor

dkam commented Aug 23, 2015

Hi there,
It'd be nice if it would ignore files beginning with a dot. If you're interested, I can branch and submit a pull request, or you could just add :

next if file_name =~ /^./

to lib/ferver/file_list.rb, line 45.

Cheers,
Dan

@rob-murray
Copy link
Owner

Sure sounds like a good idea, normally you probably wouldnt want to serve those files so that makes sense.

Maybe a configuration option that has a default not to serve those files but can be enabled if configured?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants