diff --git a/server.js b/server.js index 0c7372e47047698a6eab5a273c5987ebf80bcfa3..033c9990e418fb1687c6f90b430eeff4fdb7ff87 100644 --- a/server.js +++ b/server.js @@ -10,12 +10,12 @@ const axios = require('axios'); const app = express(); const path = require('path'); -app.use(express.static(path.join(__dirname, 'static'))); +app.use(express.static(path.join(__dirname, 'frontend/build'))); app.get('/*', (req, res) => { console.log(__dirname); - res.sendFile(path.join(__dirname, 'static', 'index.html')); + res.sendFile(path.join(__dirname, 'frontend/build', 'index.html')); }); app.use(bodyParser.json());