|
|
@ -43,7 +43,7 @@ fastify.register(require('@fastify/static'), { |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
fastify.get('/', async (request, reply) => { |
|
|
fastify.get('/', async (request, reply) => { |
|
|
response.redirect('/index.html') |
|
|
reply.redirect('/index.html') |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
fastify.post('/login', async (request, reply) => { |
|
|
fastify.post('/login', async (request, reply) => { |
|
|
|