update redirect
This commit is contained in:
parent
d99eb06625
commit
3207ea77d0
1 changed files with 1 additions and 1 deletions
2
index.js
2
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) => {
|
||||
|
|
Loading…
Reference in a new issue