diff --git a/server/server.js b/server/server.js index efc6470d..9cafa01b 100644 --- a/server/server.js +++ b/server/server.js @@ -23,8 +23,6 @@ app.use(webpackHotMiddleware(compiler)); import serverConfig from './config'; import users from './routes/user.routes'; -//Body parser, cookie parser, sessions, serve public assets - //Body parser, cookie parser, sessions, serve public assets const MongoStore = require('connect-mongo')(session); @@ -58,8 +56,6 @@ mongoose.connection.on('error', () => { process.exit(1); }); -const passportConfig = require('./config/passport'); - app.get("/", function(req, res) { res.sendFile(path.resolve(__dirname + '/../index.html')); })