hookshot
hookshot copied to clipboard
Pass through bodyParser.json() middleware options
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
Ping... Any interest in merging this?