mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-20 18:18:56 +00:00
added-optional-nodester-port
This commit is contained in:
parent
dcc2edf55b
commit
068467e702
1 changed files with 2 additions and 1 deletions
|
|
@ -196,7 +196,8 @@ CloudServer.start=function()
|
|||
|
||||
var http = require('http');
|
||||
http.createServer(CloudServer._controller).listen(process.env.PORT ||
|
||||
process.env.VCAP_APP_PORT /* cloudfoundry */ ||
|
||||
process.env.VCAP_APP_PORT /* cloudfoundry */ ||
|
||||
process.env.app_port /* nodester */ ||
|
||||
31337,
|
||||
'0.0.0.0' || '127.0.0.1');
|
||||
console.log('Cloud Commander server running at http://127.0.0.1:'+
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue