Fixed Connect 3.0 Deprication Issue

This commit is contained in:
Ravin Sardal 2015-05-09 15:16:33 -07:00
parent da2fd044fc
commit 084649c998

View File

@ -16,7 +16,8 @@ app.set('view engine', 'jade');
app.use(express.cookieParser()); app.use(express.cookieParser());
app.use(express.static(__dirname + '/public')); app.use(express.static(__dirname + '/public'));
app.use(express.bodyParser()); app.use(express.json());
app.use(express.urlencoded());
// Enable log messages when sending texts. // Enable log messages when sending texts.
text.debug(true); text.debug(true);