Closed joeylouise closed 7 years ago
Add following code to server.js
server.ext('onPreResponse', (request, reply) => { if (request.response.isBoom && request.response.output.statusCode === 404) { return reply.view('notFound'); } return reply.continue(); });
Add following code to server.js