diff --git a/index.js b/index.js index 22e6284..04f6fb7 100644 --- a/index.js +++ b/index.js @@ -43,7 +43,7 @@ fastify.register(require('@fastify/static'), { }) fastify.get('/', async (request, reply) => { - response.redirect('/index.html') + reply.redirect('/index.html') }) fastify.post('/login', async (request, reply) => {