minor changes

This commit is contained in:
coderaiser 2012-12-14 08:21:55 -05:00
parent b54369ca51
commit 8148e3a2d7

View file

@ -155,16 +155,16 @@
this.Server = http.createServer(this._controller);
this.Server.listen(this.Port, this.IP);
var lListen;
if(lConfig.socket && CloudServer.Socket){
CloudServer.Socket.listen(this.Server);
console.log('sockets running');
lListen = CloudServer.Socket.listen(this.Server);
}
else
console.log('sockets disabled');
console.log('sockets' + lListen ? 'running' :'disabled');
console.log('Cloud Commander server running at http://' +
this.IP + ':' + this.Port);
}, this));
if(lError){
console.log('Cloud Commander server could not started');
console.log(lError);