diff options
Diffstat (limited to 'config/bodyParser.js')
-rw-r--r-- | config/bodyParser.js | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/config/bodyParser.js b/config/bodyParser.js index f04d291..c336e67 100644 --- a/config/bodyParser.js +++ b/config/bodyParser.js | |||
@@ -1,4 +1,3 @@ | |||
1 | 'use strict' | ||
2 | 1 | ||
3 | module.exports = { | 2 | module.exports = { |
4 | /* | 3 | /* |
@@ -47,8 +46,8 @@ module.exports = { | |||
47 | 'application/json', | 46 | 'application/json', |
48 | 'application/json-patch+json', | 47 | 'application/json-patch+json', |
49 | 'application/vnd.api+json', | 48 | 'application/vnd.api+json', |
50 | 'application/csp-report' | 49 | 'application/csp-report', |
51 | ] | 50 | ], |
52 | }, | 51 | }, |
53 | 52 | ||
54 | /* | 53 | /* |
@@ -61,8 +60,8 @@ module.exports = { | |||
61 | */ | 60 | */ |
62 | raw: { | 61 | raw: { |
63 | types: [ | 62 | types: [ |
64 | 'text/*' | 63 | 'text/*', |
65 | ] | 64 | ], |
66 | }, | 65 | }, |
67 | 66 | ||
68 | /* | 67 | /* |
@@ -75,8 +74,8 @@ module.exports = { | |||
75 | */ | 74 | */ |
76 | form: { | 75 | form: { |
77 | types: [ | 76 | types: [ |
78 | 'application/x-www-form-urlencoded' | 77 | 'application/x-www-form-urlencoded', |
79 | ] | 78 | ], |
80 | }, | 79 | }, |
81 | 80 | ||
82 | /* | 81 | /* |
@@ -89,7 +88,7 @@ module.exports = { | |||
89 | */ | 88 | */ |
90 | files: { | 89 | files: { |
91 | types: [ | 90 | types: [ |
92 | 'multipart/form-data' | 91 | 'multipart/form-data', |
93 | ], | 92 | ], |
94 | 93 | ||
95 | /* | 94 | /* |
@@ -133,7 +132,7 @@ module.exports = { | |||
133 | | is to true. Otherwise everything is processed manually. | 132 | | is to true. Otherwise everything is processed manually. |
134 | | | 133 | | |
135 | */ | 134 | */ |
136 | processManually: [] | 135 | processManually: [], |
137 | 136 | ||
138 | /* | 137 | /* |
139 | |-------------------------------------------------------------------------- | 138 | |-------------------------------------------------------------------------- |
@@ -153,5 +152,5 @@ module.exports = { | |||
153 | | } | 152 | | } |
154 | | | 153 | | |
155 | */ | 154 | */ |
156 | } | 155 | }, |
157 | } | 156 | }; |