mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 21:57:55 +08:00
dce872fac8
- Bunyan logs json output, and added a stream to send our logs to cloudwatch - Replaces /all/ instances of console.log. Turned eslint rule back on, so we don't use console.log ever again. - Added npm scripts to view pretty logs
13 lines
238 B
JavaScript
13 lines
238 B
JavaScript
module.exports = (server) => {
|
|
server.route({
|
|
method: 'GET',
|
|
path: '/ping',
|
|
config: {
|
|
auth: false,
|
|
},
|
|
handler: (request, reply) => {
|
|
request.logger.info('----> Pong!')
|
|
reply("Pong")
|
|
},
|
|
});
|
|
};
|