From d99eb06625cce0d90ac5a880151b9f876bd1f6a3 Mon Sep 17 00:00:00 2001 From: asyncnomi Date: Sun, 11 Dec 2022 16:55:08 +0100 Subject: [PATCH] update redirect --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 55d57cf..22e6284 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') }) fastify.post('/login', async (request, reply) => {