trying to persist the db again

This commit is contained in:
Martin Donnelly 2015-11-17 11:33:23 +00:00
parent ea38dd7f13
commit 1b3faab90b

2
app.js
View File

@ -26,7 +26,7 @@ app.set('view engine', 'ejs');
//app.use(favicon(path.join(__dirname, 'public', 'favicon.ico')));
app.use(logger('dev'));
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({ extended: false }));
app.use(bodyParser.urlencoded({ extended: true }));
app.use(cookieParser());
app.use(express.static(path.join(__dirname, 'public')));