mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-21 02:29:23 +00:00
testing mode fixed
This commit is contained in:
parent
e790a84909
commit
a953623608
1 changed files with 2 additions and 1 deletions
|
|
@ -264,8 +264,9 @@ CloudServer.start=function()
|
|||
CloudServer.IP;
|
||||
|
||||
/* server mode or testing mode */
|
||||
if(CloudServer.Config.server && process.argv[2]!=='test'){
|
||||
if(CloudServer.Config.server && process.argv[2]!=='test'){
|
||||
var http = require('http');
|
||||
|
||||
try{
|
||||
http.createServer(CloudServer._controller).listen(
|
||||
CloudServer.Port,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue