Mailspring/packages/nylas-api/routes/ping.js
2016-07-06 14:59:56 -07:00

13 lines
229 B
JavaScript

module.exports = (server) => {
server.route({
method: 'GET',
path: '/ping',
config: {
auth: false,
},
handler: (request, reply) => {
console.log("---> Ping!")
reply("pong")
},
});
};