You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the issue! You're totally right, there are some breaking changes in version 9. I've added a message to the front page of this repository to address it. My best suggestion for the course is to use version 8.8.1, so all the demo code will work perfectly. Your code above also works great.
Not sure you can do much about this now but I am following your hapi starter course, going well. You were using hapi 8.4 I beleive.
Anyway at time now any version that a person uses greater than 9 will need to use 'Inert' in their code to allow to serve a static file. example here https://www.npmjs.com/package/inert#examples
This was from this github issue hapijs/hapi#2682 (comment)
which means this was the code in section 2 I needed to write
The text was updated successfully, but these errors were encountered: