mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
minor changes
This commit is contained in:
parent
76491af8b6
commit
96b67099f0
1 changed files with 4 additions and 4 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue