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

Add option to filter out internal routes #25

Open
gordysc opened this issue Oct 20, 2016 · 1 comment
Open

Add option to filter out internal routes #25

gordysc opened this issue Oct 20, 2016 · 1 comment

Comments

@gordysc
Copy link

gordysc commented Oct 20, 2016

You can define HapiJS routes that are only internal
http://hapijs.com/api#route-configuration

This was introduced in 9.1.0:
hapijs/hapi@66730f9

However, these internal routes are showing up on blipp. It'd be a nice option to be able to hide those. Perhaps the option could be hideInternalRoutes and default to false? I'd be more than happy to make the PR for this. It would push the devDependencies up a major version from 8.x.x. to 9.x.x. Given Hapi is currently on 15, this seems like it'd be safe. Thoughts?

@danielb2
Copy link
Owner

danielb2 commented Feb 10, 2017

Also maybe some kind of marker to indicate them being internal when they are displayed too

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

No branches or pull requests

2 participants