jfhbrook / node-ecstatic

A static file server middleware that works with core http, express or on the CLI!
https://github.com/jfhbrook/node-ecstatic
MIT License
975 stars 194 forks source link

Add way to hide file permissions #214

Closed benevbright closed 6 years ago

benevbright commented 6 years ago

Thanks for a wonderful module.

I want to hide files' permission. Is there any solution for this?

I can't find it from the provided options.

jfhbrook commented 6 years ago

It's not a currently exposed option, but I would definitely take this as a pull request!

benevbright commented 6 years ago

Thanks for your kind response :)

mmmm1998 commented 6 years ago

I think, the issue maybe closed, isn't it?

jfhbrook commented 6 years ago

yes, just forgot.

benevbright commented 6 years ago

Thank @mmmm1998 . I came by now because I thought I have time to deal with. But it's already done! I appreciate it.

benevbright commented 6 years ago

I made an advanced version of @mmmm1998 's PR. I appreciate to @mmmm1998 .

https://github.com/jfhbrook/node-ecstatic/pull/219