Closed NicolasRitouet closed 8 years ago
This PR fixes the error with hapi 11. Hapi 11 removed the server.after method and added a new event: https://github.com/hapijs/hapi/issues/2814
This fix will allow to support the old version of hapi if server.after is defined, otherwise, it will use the new event.
@toymachiner62 do you plan to make a release for this?
Oops my bad. I will release it shortly.
Awesome, thanks ! :trophy:
Version 2.2.1 pushed to npm.
Great, thanks again.
This PR fixes the error with hapi 11. Hapi 11 removed the server.after method and added a new event: https://github.com/hapijs/hapi/issues/2814
This fix will allow to support the old version of hapi if server.after is defined, otherwise, it will use the new event.