site path fix

This commit is contained in:
Kalle (Sendou) 2020-09-10 19:57:36 +03:00
parent 9eba44dee8
commit 2ba3eaf90d

View File

@ -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