mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 05:41:05 +08:00
13 lines
229 B
JavaScript
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")
|
|
},
|
|
});
|
|
};
|