diff --git a/config/app.js b/config/app.js index fed1cb2..1f6f4e4 100644 --- a/config/app.js +++ b/config/app.js @@ -67,7 +67,6 @@ module.exports = { */ jsonpCallback: 'callback', - /* |-------------------------------------------------------------------------- | Etag diff --git a/config/bodyParser.js b/config/bodyParser.js index 903b3dc..6b40f1a 100644 --- a/config/bodyParser.js +++ b/config/bodyParser.js @@ -134,5 +134,24 @@ module.exports = { | */ processManually: [] + + /* + |-------------------------------------------------------------------------- + | Temporary file name + |-------------------------------------------------------------------------- + | + | Define a function, which should return a string to be used as the + | tmp file name. + | + | If not defined, Bodyparser will use `uuid` as the tmp file name. + | + | To be defined as. If you are defining the function, then do make sure + | to return a value from it. + | + | tmpFileName () { + | return 'some-unique-value' + | } + | + */ } }