remove urlencoded
This commit is contained in:
parent
e0dde70c14
commit
3dd2b30586
|
@ -61,9 +61,12 @@ function eagerLoad() {
|
||||||
, function () {
|
, function () {
|
||||||
require('body-parser').json();
|
require('body-parser').json();
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
|
// do not use urlencoded as it enables csrf
|
||||||
, function () {
|
, function () {
|
||||||
require('body-parser').urlencoded();
|
require('body-parser').urlencoded();
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
].forEach(function (fn) {
|
].forEach(function (fn) {
|
||||||
promise = promise.then(function (thing) {
|
promise = promise.then(function (thing) {
|
||||||
return new PromiseA(function (resolve) {
|
return new PromiseA(function (resolve) {
|
||||||
|
|
Loading…
Reference in New Issue