diff --git a/index.js b/index.js index 8faf4e754..0d2f7af84 100644 --- a/index.js +++ b/index.js @@ -317,7 +317,7 @@ server.applyMiddleware({ app }) app.use(express.static('build')) app.get('*', (req, res) => { - res.sendFile(path.resolve(__dirname, 'public', 'index.html')); + res.sendFile(path.resolve(__dirname, 'build', 'index.html')) }) const PORT = process.env.PORT || 3001