From da8d6c1ab604ec46b02d558a1a5caa7813e750b1 Mon Sep 17 00:00:00 2001 From: eetnaviation Date: Sat, 16 Mar 2024 17:43:35 +0200 Subject: [PATCH] Fixed app.get --- main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index f4a2c35..c183fc7 100644 --- a/main.js +++ b/main.js @@ -20,8 +20,8 @@ let requestedTak = "Unfetched"; console.log("Server initalize!"); -app.get('/tltmap', (req, res) => { - console.log("Init /tltmap"); +app.get('/', (req, res) => { + console.log("Requested / . Fetching!"); //index.html res.sendFile(__dirname + '/client/index.html'); });