foundersandcoders / Live-Peers

2 stars 2 forks source link

Missing Helpers directory on server start #102

Closed njsfield closed 7 years ago

njsfield commented 7 years ago

Our Hapi server is set up to expect a path to a helpers directory for it's views;

server.views({
    engines: {
      hbs: require('handlebars')
    },
    relativeTo: __dirname,
    path: 'views',
    layoutPath: 'views/layout/',
    helpersPath: 'views/helpers/',
    layout: 'layout',
    partialsPath: 'views/partials/'
  });

However this directory doesn't exist in master anymore, so the helpersPath key should not be present in the object passed to server.views