From b429c213b8c284ed56cd594ce02c4d1f9ffb3343 Mon Sep 17 00:00:00 2001 From: George Mandis Date: Mon, 29 Nov 2021 01:08:47 -0800 Subject: [PATCH] Tweaked server for Glitch --- server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.js b/server.js index acac933..f55ce81 100644 --- a/server.js +++ b/server.js @@ -8,11 +8,11 @@ const app = express(); // but feel free to use whatever libs or frameworks you'd like through `package.json`. // http://expressjs.com/en/starter/static-files.html -app.use(express.static("output")); +app.use(express.static("public")); // http://expressjs.com/en/starter/basic-routing.html app.get("/", function(request, response) { - response.sendFile(__dirname + "/output/index.html"); + response.sendFile(__dirname + "/public/index.html"); }); // listen for requests :)