Closed joelmertanen closed 10 years ago
Thanks for the PR. Out of curiosity, could you tell me how you are using this library and for what purpose?
Sweet, the lib is used to pass the coverage data from an istanbul instrumented code at the end of the Mocha tests, which are run via Grunt. Our coverage data is around 6mb:s, which caused the error. The current setup is a bit shaky, but it is more of a proof of concept.
Added as part of PR #11. Available in v0.2.0
Middleware did not accept larger coverage json files than 1mb, which was not enough for us.
I did not find any reason for not increasing it. I set the limit to 100mb and also replaced the soon-to-be obsolete call bodyParser() with the json() and urlencoded().