diff --git a/server.js b/server.js index 7dfd5b9..ff8a27d 100644 --- a/server.js +++ b/server.js @@ -29,7 +29,7 @@ app.use(express.static(path.join(__dirname, 'client/build'))); //production mode if(process.env.NODE_ENV === 'production') { app.get('*', (req, res) => { - res.sendFile(path.join(__dirname = 'client/build/index.html')); + res.sendfile(path.join(__dirname = 'client/build/index.html')); }); }