From 992b8ae00be3439de4d2d3039dd8b0b97eaeb436 Mon Sep 17 00:00:00 2001 From: JOHNFLEURIMOND Date: Sun, 17 Nov 2019 23:22:21 -0500 Subject: [PATCH] make it better --- index.js | 1 - 1 file changed, 1 deletion(-) diff --git a/index.js b/index.js index 24d57fa..0c5976e 100644 --- a/index.js +++ b/index.js @@ -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) => {