aboutsummaryrefslogtreecommitdiffhomepage
path: root/server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server.ts')
-rw-r--r--server.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/server.ts b/server.ts
index 84535c7a5..0e963c3d3 100644
--- a/server.ts
+++ b/server.ts
@@ -76,7 +76,10 @@ app.use(morgan('combined', {
76 stream: { write: logger.info } 76 stream: { write: logger.info }
77})) 77}))
78// For body requests 78// For body requests
79app.use(bodyParser.json({ limit: '500kb' })) 79app.use(bodyParser.json({
80 type: 'application/*+json',
81 limit: '500kb'
82}))
80app.use(bodyParser.urlencoded({ extended: false })) 83app.use(bodyParser.urlencoded({ extended: false }))
81 84
82// ----------- Tracker ----------- 85// ----------- Tracker -----------