mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
minor changes
This commit is contained in:
parent
b54369ca51
commit
8148e3a2d7
1 changed files with 4 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue