-
Notifications
You must be signed in to change notification settings - Fork 28
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
Make route configurable #11
Comments
@sfabriece Thanks for your feature request. It will be available in the next version. |
WIP ➡️ branch |
@ziyasal What do you think about: https://github.com/ziyasal/hapijs-status-monitor/compare/route-configurable?expand=1 |
I would rename |
hey @danielbayerlein that looks good! |
Done, see e20172e |
I tried that, wanting to allow access only to logged in users, so:
I'm using v0.4.0. I tried in the manifest and another try in the plugin after I register an auth strategy, but I can always access /status. It might have to do with my setup (I'm not 100% sure of myself dealing with plugins and dependencies), but if someone could test that the routeConfig can actually disallow access, that would be great. |
Hi @danielbayerlein fyi, I just added. |
Doh, I should have checked the source I was using, hey ;-) If you could also tag your git releases ( |
@millette Sorry for the trouble. With the next version i'll also tag releases. 😺 |
@danielbayerlein thank you for taking over this 👍 |
hapijs-status-monitor 0.5.0 published 🎉 |
SInce my hapi instance has auth enabled on all routes, i had to add the config at the end to make it work. It would be nice to make it configurable, so that I can pass an option when registering the plugin.¨
The text was updated successfully, but these errors were encountered: