From 4e827a30bc0d6edb7414a7cf78d993dc2dd287e5 Mon Sep 17 00:00:00 2001 From: Anthony Gorski <38192276+GorskiAnthony@users.noreply.github.com> Date: Thu, 7 Dec 2023 15:12:16 +0100 Subject: [PATCH] Update app.js --- backend/src/app.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/backend/src/app.js b/backend/src/app.js index 22be9ab..4252c41 100644 --- a/backend/src/app.js +++ b/backend/src/app.js @@ -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 @@ -119,7 +118,6 @@ app.use(express.static(reactBuildPath)); app.get("*", (req, res) => { res.sendFile(`${reactBuildPath}/index.html`); }); -*/ /* ************************************************************************* */