Skip to content

Commit

Permalink
Merge pull request #155 from trojs/feature/max-body-size-undefined
Browse files Browse the repository at this point in the history
Undefined as default body limit
  • Loading branch information
w3nl authored Oct 1, 2024
2 parents cd106d6 + db92104 commit 1c8f78e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@trojs/openapi-server",
"description": "OpenAPI Server",
"version": "2.0.3",
"version": "2.0.4",
"author": {
"name": "Pieter Wigboldus",
"url": "https://trojs.org/"
Expand Down
2 changes: 1 addition & 1 deletion src/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export const setupServer = async ({
poweredBy = 'TroJS',
version = '1.0.0',
middleware = [],
maximumBodySize = '5mb',
maximumBodySize = undefined,
}) => {
const corsOptions = {
origin,
Expand Down

0 comments on commit 1c8f78e

Please sign in to comment.