@trigo/trigo-hapijs

5.0.0 • Public • Published

Codeship Status for trigo-at/trigo-hapijs

https://waffle.io/trigo-at/trigo-hapijs

hapijs base for projects

Required config settings:

  • distPath
  • port
  • version
  • viewPath
  • settings.auth.authCookieSecret
  • settings.auth.authCookieName
  • settings.db

Options

staticCache (optional)

Exposes 'cache-control' header options for static assets route. Hapi will generate the appropriate cache-control header on replies based on the supplied options.

  • expiresIn: relative expiration expressed in milliseconds
  • statuses: array of valid HTTP statuscodes which are allowed to include a valid caching directive.
    • [200] (default)
  • privacy: determines the privacy flag
    • private
    • public
    • default (default)

Readme

Keywords

Package Sidebar

Install

npm i @trigo/trigo-hapijs

Weekly Downloads

3

Version

5.0.0

License

UNLICENSED

Last publish

Collaborators

  • trigo-admin