update to Webpack 5
Change-Id: Icc238a9f981ecaf5c5802c9a3a4f0bcb89e7d42b
diff --git a/app.js b/app.js
index 861409e..065724b 100644
--- a/app.js
+++ b/app.js
@@ -183,10 +183,10 @@
/* GET React App */
-app.use(express.static(path.join(__dirname, 'public')))
+app.use(express.static(path.join(__dirname, 'client', 'dist')))
app.use((req, res, next) => {
- res.sendFile(path.join(__dirname, 'public', 'index.html'));
+ res.sendFile(path.join(__dirname, 'client', 'dist', 'index.html'));
});
const server = http.Server(app);