koopjs / koop

Transform, query, and download geospatial data on the web.
http://koopjs.github.io
Other
667 stars 128 forks source link

question: Is there a way to override this body size limit? #624

Open brightgarden opened 1 year ago

brightgarden commented 1 year ago

https://github.com/koopjs/koop/blob/850f98c2617b09906d964031b479e4181b6e5b59/packages/koop-core/src/index.js#L44

I'd like to be able to accept a larger payload, and am willing to submit a PR to let this be configurable with a default value.

Thanks!

rgwozdz commented 1 year ago

Hello @brightgarden. Yes, just have the value be set as an option (make sure there is a default fallback value). Then send it in as an Koop instance option: https://github.com/koopjs/koop/blob/850f98c2617b09906d964031b479e4181b6e5b59/packages/koop-core/src/index.js#L14.

Thanks!