Don't parse JSON requests

pull/20/head
Joe Biellik 5 years ago
parent 2eb3eda368
commit bbaac283d6

@ -14,6 +14,7 @@ app.use(require('koa-static-cache')(path.join(__dirname, 'public'), {
maxAge: config.cacheAge maxAge: config.cacheAge
})); }));
app.use(require('koa-body')({ app.use(require('koa-body')({
json: false,
multipart: true, multipart: true,
jsonLimit: config.sizeLimit, jsonLimit: config.sizeLimit,
formLimit: config.sizeLimit, formLimit: config.sizeLimit,

Loading…
Cancel
Save