mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-21 02:29:23 +00:00
testing mode configuration
This commit is contained in:
parent
d982749fdd
commit
eb5c6a7010
1 changed files with 2 additions and 6 deletions
|
|
@ -270,12 +270,8 @@ CloudServer.start=function()
|
|||
CloudServer.IP = process.env.IP || /* c9 */
|
||||
CloudServer.IP;
|
||||
|
||||
/* server mode or testing mode */
|
||||
console.log(CloudServer.Config.server);
|
||||
console.log(process.argv[2]);
|
||||
console.log(CloudServer.Config.logs);
|
||||
|
||||
if(CloudServer.Config.server && process.argv[2]!=='test'){
|
||||
/* server mode or testing mode */
|
||||
if(process.argv[2]!=='test' && CloudServer.Config.server){
|
||||
var http = require('http');
|
||||
|
||||
try{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue