YUKI Hiroshi
null+****@clear*****
Wed Jun 25 15:05:55 JST 2014
YUKI Hiroshi 2014-06-25 15:05:55 +0900 (Wed, 25 Jun 2014) New Revision: 19ba468f68bab037a04277edae68fc94e89378e5 https://github.com/droonga/express-droonga/commit/19ba468f68bab037a04277edae68fc94e89378e5 Message: Use bodyParser.json() instead of bodyParser itself. See: http://stackoverflow.com/questions/24330014/bodyparser-is-deprecated-express-4 Modified files: lib/ui/dashboard.js Modified: lib/ui/dashboard.js (+1 -1) =================================================================== --- lib/ui/dashboard.js 2014-06-25 14:26:30 +0900 (b9450d5) +++ lib/ui/dashboard.js 2014-06-25 15:05:55 +0900 (f87ace1) @@ -16,7 +16,7 @@ exports.register = function(application, params) { application.set('views', path.join(topDirectory, 'views')); application.set('view engine', 'jade'); - application.use(prefix, bodyParser()); + application.use(prefix, bodyParser.json()); application.use(prefix, methodOverride()); application.use(prefix, less(path.join(topDirectory, 'public'))); application.use(prefix, serveStatic(path.join(topDirectory, 'public'))); -------------- next part -------------- HTML����������������������������... 다운로드