fix secure:false

This commit is contained in:
Matias Alejo Garcia 2014-06-10 10:49:26 -03:00
parent 33fc4f8623
commit 61410e519a
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ function Network(opts) {
}; };
this.opts = {}; this.opts = {};
['config', 'port', 'host', 'path', 'debug', 'key', 'secure'].forEach(function(k) { ['config', 'port', 'host', 'path', 'debug', 'key', 'secure'].forEach(function(k) {
if (opts[k]) self.opts[k] = opts[k]; if (opts.hasOwnProperty(k)) self.opts[k] = opts[k];
}); });
this.cleanUp(); this.cleanUp();
} }