Enable error log to console

This commit is contained in:
3nprob 2021-10-08 02:22:21 +09:00
parent 93d50794b9
commit 640d8620bb

View File

@ -14,7 +14,10 @@ const server = Hapi.server({
files: { files: {
relativeTo: Path.join(__dirname, 'static') relativeTo: Path.join(__dirname, 'static')
} }
} },
debug: {
request: ['error']
},
}); });
server.events.on('stop', () => { server.events.on('stop', () => {
console.log('Server stopped.'); console.log('Server stopped.');