aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server.ts')
-rw-r--r--server.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.ts b/server.ts
index 0e963c3d3..3221c1790 100644
--- a/server.ts
+++ b/server.ts
@@ -77,7 +77,7 @@ app.use(morgan('combined', {
77})) 77}))
78// For body requests 78// For body requests
79app.use(bodyParser.json({ 79app.use(bodyParser.json({
80 type: 'application/*+json', 80 type: [ 'application/json', 'application/*+json' ],
81 limit: '500kb' 81 limit: '500kb'
82})) 82}))
83app.use(bodyParser.urlencoded({ extended: false })) 83app.use(bodyParser.urlencoded({ extended: false }))