Showing
1 changed file
with
4 additions
and
4 deletions
... | @@ -38,10 +38,10 @@ app.use("/db", dbRouter); | ... | @@ -38,10 +38,10 @@ app.use("/db", dbRouter); |
38 | // } else console.log("Incorrect user ID or password."); | 38 | // } else console.log("Incorrect user ID or password."); |
39 | // }); | 39 | // }); |
40 | 40 | ||
41 | -// app.use(express.static(path.join(__dirname, '../build'))); | 41 | +app.use(express.static(path.join(__dirname, "../build"))); |
42 | -// app.get('*', function (요청, 응답) { | 42 | +app.get("*", function (요청, 응답) { |
43 | -// 응답.sendFile(path.join(__dirname, '../build/index.html')); | 43 | + 응답.sendFile(path.join(__dirname, "../build/index.html")); |
44 | -// }); | 44 | +}); |
45 | 45 | ||
46 | app.listen(3001, function () { | 46 | app.listen(3001, function () { |
47 | console.log("listening on 3001"); | 47 | console.log("listening on 3001"); | ... | ... |
-
Please register or login to post a comment