hapi — How to Serve Static Files (Images, JS, CSS, etc.)
Within the previous tutorial, you learned how to add routes to your application and handle requests with their related responses. When building web applications, the need to serve files arises quickly. And with that, you also need routes to respond requests with file resources. If you’re serving HTML views …
Continue Reading