Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add confine option that confines file responses #47
Rebased patch and split into sub patches, renaming the option to
I decided not to include any
I plan to merge this soon unless there are any objections or concerns?
I don't get it.
I understand how this can be useful in a directory handler where you are serving content based on the request, but is there a real use case for file when you specify the file you want?
Also, directory already have this: https://github.com/hapijs/inert/blob/master/lib/directory.js#L81-L83
Seems like an odd feature for the file handler. I can see how it might be useful for the
Yeah, it is primarily targeted at
The other target is the
I am definitely open to change the defaults for the