mirror of
https://github.com/seejohnrun/haste-server.git
synced 2025-12-13 02:55:55 +00:00
Added support for haste maximum size
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user