Closed MortalCatalyst closed 8 years ago
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.
Let me know if you find anything else.
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 https://github.com/hapijs/hapi/issues/2682#issuecomment-130574238
which means this was the code in section 2 I needed to write