hi, i saw hapi is used in this sls plugin, id like to know if there is a way to configure the maxBytes option (of hapi), because im limited to 1mb in my 'serverless-offline' tests. this also could maybe be a flag, if you are interested and there is no other workaround i could check out how to add that flag --max-bytes to serverless-offline (also maybe for v1)
Sure, please submit a PR or wait for the next release (which will be big I think) so I can implement it.
FYI
The max size for payloads on AWS is 10MB
http://docs.aws.amazon.com/apigateway/latest/developerguide/limits.html
I still have this issue in my visor. Hapi's doc are easily tamable, this can be a quick win.
here is kind of a start: https://github.com/elgubenis/serverless-offline/commit/63aaa05f8971b74e008d37596da3c6dbd6d8d023 for anyone interested in pursuing that 5242880 are like 5 mb or something
closing. seems like the limit as changed: https://github.com/dherault/serverless-offline/issues/282 possible fix in: https://github.com/dherault/serverless-offline/pull/283
Most helpful comment
FYI
The max size for payloads on AWS is 10MB
http://docs.aws.amazon.com/apigateway/latest/developerguide/limits.html