mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-08-03 13:13:10 +00:00
fix(socket) ret -> io
This commit is contained in:
parent
3678f2ea8d
commit
5f922ba16d
2 changed files with 9 additions and 7 deletions
|
|
@ -76,14 +76,18 @@
|
|||
lHTTPS = 'https://',
|
||||
|
||||
lSockets = function(pServer) {
|
||||
var lListen, msg, status;
|
||||
var listen, msg,
|
||||
status = 'off';
|
||||
|
||||
if (lConfig.socket && Socket) {
|
||||
lListen = Socket.listen(pServer);
|
||||
Console.init();
|
||||
listen = Socket.listen(pServer);
|
||||
|
||||
if (listen) {
|
||||
status = 'on';
|
||||
Console.init();
|
||||
}
|
||||
}
|
||||
|
||||
status = lListen ? 'on' : 'off';
|
||||
msg = CloudFunc.formatMsg('sockets', '', status);
|
||||
|
||||
Util.log(msg);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue