minor changes

This commit is contained in:
coderaiser 2012-12-14 08:12:35 -05:00
parent 76491af8b6
commit 96b67099f0

View file

@ -143,10 +143,10 @@
lConfig.port;
this.IP = process.env.IP || /* c9 */
this.Config.ip;
if(!this.IP)
this.IP = main.WIN32 ? '127.0.0.1' : '0.0.0.0';
this.Config.ip ||
main.WIN32 ?
'127.0.0.1' :
'0.0.0.0';
/* server mode or testing mode */
if (lConfig.server) {