Skip to content

Commit

Permalink
Merge pull request #3 from WildCodeSchool-2023-09/dev
Browse files Browse the repository at this point in the history
Prod
  • Loading branch information
GorskiAnthony authored Dec 7, 2023
2 parents 74f1a02 + 3533427 commit f1105fe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions backend/src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ app.use("/api", router);
// 1. Uncomment the lines related to serving static files and redirecting unhandled requests.
// 2. Ensure that the `reactBuildPath` points to the correct directory where your frontend's build artifacts are located.

/*
const reactBuildPath = `${__dirname}/../../frontend/dist`;

// Serve react resources
Expand All @@ -119,7 +118,6 @@ app.use(express.static(reactBuildPath));
app.get("*", (req, res) => {
res.sendFile(`${reactBuildPath}/index.html`);
});
*/

/* ************************************************************************* */

Expand Down

0 comments on commit f1105fe

Please sign in to comment.