sign up view renders, not tested if functional

This commit is contained in:
catarak 2016-06-08 20:52:59 -04:00
parent 86c124d84b
commit 0919cacc52

View file

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