Chapter 6: code samples
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
fastify.route({
|
||||
method: "GET",
|
||||
url: "/",
|
||||
handler: function (request, reply) {
|
||||
reply.send({ message: "Hello world!" });
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user