diff --git a/server/app.js b/server/app.js index 8a5d9b7..0f4c50d 100644 --- a/server/app.js +++ b/server/app.js @@ -16,7 +16,8 @@ app.set('view engine', 'jade'); app.use(express.cookieParser()); app.use(express.static(__dirname + '/public')); -app.use(express.bodyParser()); +app.use(express.json()); +app.use(express.urlencoded()); // Enable log messages when sending texts. text.debug(true);