From 084649c998a620e5ffcdc8244bb0e3c2e1f24eba Mon Sep 17 00:00:00 2001 From: Ravin Sardal Date: Sat, 9 May 2015 15:16:33 -0700 Subject: [PATCH] Fixed Connect 3.0 Deprication Issue --- server/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);