Tag: file

How to send files using Hapi

This tutorial is compatible with Hapi v17.8.1 The Inert plugin provides a wide range of functionality to work with files in routes in Hapi. First of all you need to install the Inert module to your app using NPM or Yarn and register it before your server will start.You can install it in terminal using the next commands: