Skip to content

Commit

Permalink
make it better
Browse files Browse the repository at this point in the history
  • Loading branch information
JOHNFLEURIMOND committed Nov 18, 2019
1 parent 805f29b commit 992b8ae
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ app.use(bodyParser.json()); // get information from html forms
if (process.env.NODE_ENV == 'production') {
// Exprees will serve up production assets
app.use(express.static('build'));

// Express serve up index.html file if it doesn't recognize route
const path = require('path');
app.get('/', (req, res) => {
Expand Down

0 comments on commit 992b8ae

Please sign in to comment.