Chapter 4,6: prettier updates and web framework samples
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
async function routes(fastify) {
|
||||
fastify.get("/", async (request, reply) => {
|
||||
return { message: "Hello world!" };
|
||||
});
|
||||
}
|
||||
|
||||
module.exports = routes;
|
||||
|
||||
Reference in New Issue
Block a user