Readlebee/routes/home.js

7 lines
167 B
JavaScript

async function routes(fastify, options) {
fastify.get('/', async (request, reply) => {
reply.view('home.hbs', { text: 'test' });
});
}
module.exports = routes