mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
added suport of jitsu
This commit is contained in:
parent
6bae2de38d
commit
4d55d7ff92
2 changed files with 5 additions and 1 deletions
|
|
@ -19,7 +19,7 @@
|
|||
},
|
||||
"devDependencies": {},
|
||||
"engines": {
|
||||
"node": "*"
|
||||
"node": "0.6.17"
|
||||
},
|
||||
"description": "Two-panels file manager, totally writed on js.",
|
||||
"homepage": "https://github.com/coderaiser/cloudcmd",
|
||||
|
|
|
|||
|
|
@ -312,6 +312,10 @@ CloudServer.start=function()
|
|||
|
||||
CloudServer.IP = process.env.IP || /* c9 */
|
||||
CloudServer.IP;
|
||||
/* if Cloud Server started on jitsu */
|
||||
if(!process.env.HOME.indexOf('/opt/haibu')){
|
||||
CloudServer.Port = '0.0.0.0';
|
||||
}
|
||||
|
||||
/* server mode or testing mode */
|
||||
if(!process.argv[2] && CloudServer.Config.server){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue