Skip to content
Myr

bodyParser not bodyDecoder

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 27d8bf6 · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:bin/express+1 added-1 removed
338 unmodified lines
339 }340341 // Session support342 app = app.replace('{sess}', sessions343 ? '\n app.use(express.cookieDecoder());\n app.use(express.session({ secret: \'your secret here\' }));'343 ? '\n app.use(express.cookieParser());\n app.use(express.session({ secret: \'your secret here\' }));'344 : '');345346 // Template support347 app = app.replace(':TEMPLATE', templateEngine);
103 unmodified lines