From 2ba3eaf90db0fdd2755c26cd1b1a2e6aa7e96e30 Mon Sep 17 00:00:00 2001 From: "Kalle (Sendou)" <38327916+Sendouc@users.noreply.github.com> Date: Thu, 10 Sep 2020 19:57:36 +0300 Subject: [PATCH] site path fix --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index e44f3140b..0f287ad29 100644 --- a/index.js +++ b/index.js @@ -201,7 +201,7 @@ app.get("/logout", function (req, res) { }) app.get("*", (req, res) => { - res.sendFile(path.resolve(__dirname, "build", "index.html")) + res.sendFile(path.resolve(__dirname, "../build", "index.html")) }) const PORT = process.env.PORT || 3001