diff options
Diffstat (limited to 'lib/app.js')
| -rw-r--r-- | lib/app.js | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -57,10 +57,7 @@ app.setErrorHandler((error, request, reply) => { }); app.setNotFoundHandler((request, reply) => { - reply - .code(404) - .type("text/html") - .send("Not Found"); + reply.code(404).type("text/html").send("Not Found"); }); export default app; |
