From bd7ffcfc7a3221a905db7d5fbc6c683c955bc51d Mon Sep 17 00:00:00 2001 From: Gregory Campbell Date: Tue, 23 Nov 2021 15:07:19 -0500 Subject: [PATCH] Updated static index page --- server.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server.js b/server.js index d1e4aea..280d7ea 100644 --- a/server.js +++ b/server.js @@ -26,7 +26,8 @@ app.use(express.json()); //parses incoming requests with JSON payloads app.use('/', routes); //to use the routes -app.route('/') +//Index page (static HTML) +app.route("/") .get(function (req, res) { res.sendFile(process.cwd() + '/index.html'); });