mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-28 18:23:35 +00:00
refactor(cloudcmd) mv argv parsing to bin
This commit is contained in:
parent
c42c9f8be5
commit
e2a720425c
4 changed files with 24 additions and 16 deletions
|
|
@ -75,10 +75,7 @@
|
|||
ssl = options.ssl,
|
||||
sslPort = config.sslPort;
|
||||
|
||||
/* server mode or testing mode */
|
||||
if (!config.server)
|
||||
Util.log('Cloud Commander testing mode');
|
||||
else
|
||||
if (config.server)
|
||||
if (!ssl)
|
||||
createServer(port, ip, HTTP);
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue