Merge pull request #641 from matiu/feature/settings2

fix secure:false
This commit is contained in:
Gustavo Maximiliano Cortez 2014-06-10 10:54:18 -03:00
commit aaf069e704
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ function Network(opts) {
};
this.opts = {};
['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();
}