sign up view renders, not tested if functional
This commit is contained in:
parent
86c124d84b
commit
0919cacc52
1 changed files with 0 additions and 4 deletions
|
@ -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'));
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue