Need doc on how to increase Hapi payload.maxBytes #50

Closed
robertjustjones opened this Issue Mar 6, 2014 · 1 comment

Comments

Projects
None yet
2 participants
Contributor

robertjustjones commented Mar 6, 2014

If a tarball is greater than 1mb default payload maxBytes, publish will fail.
2014-03-05T23:56:58.212Z ERROR Payload content length greater than maximum allowed: 1048576

This config.json shows the server options to increase it.

{
    "servers": [ {
       "options": { "payload": { "maxBytes": 104857600 } },
       "port": 80
     } ],
    "plugins": { "kappa": { ...  }  }
}
Owner

tlivings commented Apr 25, 2014

Closing this since it looks like the docs were updated.

@tlivings tlivings closed this Apr 25, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment