Merge pull request #39 from randomite/master

Fixed Connect 3.0 Deprication Issue
This commit is contained in:
Ian Webster 2015-05-10 00:59:13 -07:00
commit 9ca84ea1b9

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);