Added support for haste maximum size

This commit is contained in:
John Crepezzi 2011-11-21 10:17:23 -05:00
commit a9e29c2986
4 changed files with 13 additions and 1 deletions

View file

@ -47,6 +47,7 @@ http.createServer(function(request, response) {
if (incoming.pathname.match(/^\/documents$/) && request.method == 'POST') {
handler = new DocumentHandler({
keyLength: config.keyLength,
maxLength: config.maxLength,
store: preferredStore()
});
return handler.handlePost(request, response);