Skip to content

Commit

Permalink
fix: bodyParse register issue
Browse files Browse the repository at this point in the history
  • Loading branch information
greenhat616 committed Jul 9, 2023
1 parent d7427d5 commit ee654ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapter/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = [
['koa-jsonp', require('@hitokoto/koa-jsonp')()],
[
'@koa/bodyparser',
require('@koa/bodyparser')({
require('@koa/bodyparser').bodyParser({
enableTypes: ['json', 'form'],
formLimit: '10mb',
jsonLimit: '10mb',
Expand Down

0 comments on commit ee654ba

Please sign in to comment.