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

13 lines
197 B
JavaScript
Raw Normal View History

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