mirror of
https://github.com/usatiuk/ustk-todolist.git
synced 2025-10-28 15:47:48 +01:00
change client serve dir
one directory up because now it's in src/
This commit is contained in:
@@ -51,10 +51,10 @@ if (
|
||||
process.env.NODE_ENV === "production" ||
|
||||
process.env.NODE_ENV === "development"
|
||||
) {
|
||||
app.use(express.static(path.join(__dirname, "client/build")));
|
||||
app.use(express.static(path.join(__dirname, "../client/build")));
|
||||
app.use(
|
||||
"*",
|
||||
express.static(path.join(__dirname, "client/build/index.html")),
|
||||
express.static(path.join(__dirname, "../client/build/index.html")),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user