mirror of
https://github.com/zebrajr/express.git
synced 2026-01-15 12:15:27 +00:00
replace bodyparser with json and urlencoded
This commit is contained in:
@@ -222,7 +222,8 @@ var app = [
|
||||
, 'app.set(\'view engine\', \':TEMPLATE\');'
|
||||
, 'app.use(express.favicon());'
|
||||
, 'app.use(express.logger(\'dev\'));'
|
||||
, 'app.use(express.bodyParser());'
|
||||
, 'app.use(express.json());'
|
||||
, 'app.use(express.urlencoded());'
|
||||
, 'app.use(express.methodOverride());{sess}'
|
||||
, 'app.use(app.router);{css}'
|
||||
, 'app.use(express.static(path.join(__dirname, \'public\')));'
|
||||
|
||||
Reference in New Issue
Block a user