update redirect

This commit is contained in:
asyncnomi 2022-12-11 16:55:44 +01:00
parent d99eb06625
commit 3207ea77d0

View file

@ -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) => {