hookshot icon indicating copy to clipboard operation
hookshot copied to clipboard

Pass through bodyParser.json() middleware options

Open mbland opened this issue 10 years ago • 1 comments

18F/pages is a Hookshot server for https://pages.18f.gov/. As noted in 18F/pages#14, the default 100KB payload limit was exceeded by a webhook fired for 18F/govt-wide-patternlibrary#54. This change will allow us to pass options through to the bodyParser.json() middleware to increase the limit.

I've currently installed this on our server using:

$ npm install git+ssh://[email protected]/18F/hookshot.git#json-options

I've also updated our 18F/pages server to use this version, and verified that it addresses our problem, evidenced by the logs and the successful first deployment of https://pages.18f.gov/govt-wide-patternlibrary/.

cc: @juliaelman

mbland avatar Jun 22 '15 14:06 mbland

Ping... Any interest in merging this?

mbland avatar Aug 17 '15 18:08 mbland