Mailspring/packages/nylas-api/routes/ping.js

14 lines
229 B
JavaScript
Raw Normal View History

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