From 4ef0732db5d1fc40a0d964b6c8acd13bb701c692 Mon Sep 17 00:00:00 2001 From: Harminder Virk Date: Mon, 30 Oct 2017 11:36:27 +0530 Subject: [PATCH] chore(config): keep config files upto date --- config/app.js | 1 - config/bodyParser.js | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) 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' + | } + | + */ } }