18F / pages

DEPRECATED: Publishing platform for 18F sites a la GitHub pages
https://pages.18f.gov
Other
63 stars 17 forks source link

Pass through bodyParser.json() middleware options #15

Closed mbland closed 9 years ago

mbland commented 9 years ago

As noted in #14, the default 100KB payload limit was exceeded by a webhook fired for 18F/govt-wide-patternlibrary#54. Combined with 5d2ee1ec4899e8f4ff0e0f54bb16ac745df6d144 from 18F/hookshot (see coreh/hookshot#12), this change will allow us to pass options through to the bodyParser.json() middleware to increase the limit.

I've currently installed 18F/hookshot on our server using:

$ npm install git+ssh://git@github.com/18F/hookshot.git#json-options

I've also updated the running instance of this 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