Readlebee/routes/home.js

7 lines
167 B
JavaScript
Raw Normal View History

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