From a6b6fdcd50475c9cf211c56e7d26b83ca71d5b6f Mon Sep 17 00:00:00 2001 From: asyncnomi Date: Sun, 8 Jan 2023 23:44:49 +0100 Subject: [PATCH] bla --- index.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/index.js b/index.js index ecf834a..e9d860d 100644 --- a/index.js +++ b/index.js @@ -41,10 +41,6 @@ fastify.register(require('@fastify/static'), { decorateReply: false }) -fastify.get('/', async (request, reply) => { - reply.send(fs.readFileSync('./static/index.html')); -}) - fastify.post('/login', async (request, reply) => { let content = request.body; if (content.hasOwnProperty("user")