diff --git a/package-lock.json b/package-lock.json index d953dbf..f5f8c45 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@trojs/openapi-server", - "version": "2.0.3", + "version": "2.0.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@trojs/openapi-server", - "version": "2.0.3", + "version": "2.0.4", "license": "MIT", "dependencies": { "@sentry/node": "^8.0.0", @@ -3153,9 +3153,9 @@ } }, "node_modules/eslint-plugin-n/node_modules/globals": { - "version": "15.9.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-15.9.0.tgz", - "integrity": "sha512-SmSKyLLKFbSr6rptvP8izbyxJL4ILwqO9Jg23UA0sDlGlu58V59D1//I3vlc0KJphVdUR7vMjHIplYnzBxorQA==", + "version": "15.10.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-15.10.0.tgz", + "integrity": "sha512-tqFIbz83w4Y5TCbtgjZjApohbuh7K9BxGYFm7ifwDR240tvdb7P9x+/9VvUKlmkPoiknoJtanI8UOrqxS3a7lQ==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index 8d0a886..a70a760 100644 --- a/package.json +++ b/package.json @@ -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/" diff --git a/src/server.js b/src/server.js index 0365bf4..03c4737 100644 --- a/src/server.js +++ b/src/server.js @@ -77,7 +77,7 @@ export const setupServer = async ({ poweredBy = 'TroJS', version = '1.0.0', middleware = [], - maximumBodySize = '5mb', + maximumBodySize = undefined, }) => { const corsOptions = { origin,