From 1cdc6726b442f23fc4f6dbcc5e9f34c0e90e0571 Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Thu, 29 Aug 2024 21:21:17 -0500 Subject: [PATCH] add missing return --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 9ac4858..4d31198 100755 --- a/index.js +++ b/index.js @@ -163,6 +163,7 @@ app.use('/', async (req, res) => { } if(req.path==="/"){ res.sendFile(`./webpage/home.html`, {root: __dirname}); + return; } if(debugging&&req.path.startsWith("/service.js")){ res.send("dud");