Host and port made configurable

This commit is contained in:
John Crepezzi 2011-11-18 16:57:23 -05:00
parent b159817a27
commit 6bdd7d7fc5
3 changed files with 12 additions and 3 deletions

View file

@ -3,7 +3,9 @@ var winston = require('winston');
// For handling serving stored documents
var DocumentHandler = function(options) {
this.keyLength = options.keyLength || 20;
if (options) {
this.keyLength = options.keyLength || 20;
}
};
// TODO implement with FS backend