mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
feature(server) drop support of VCAP_APP_PORT
This commit is contained in:
parent
abc6f7b22e
commit
432c571f55
2 changed files with 1 additions and 2 deletions
2
HELP.md
2
HELP.md
|
|
@ -129,7 +129,7 @@ Cloud Commander supports command line parameters:
|
|||
| `--no-show-file-name` | do not show file name in view and edit
|
||||
|
||||
If no parameters given Cloud Commander reads information from `~/.cloudcmd.json` and use
|
||||
port from it (`8000` default). if port variables `PORT` or `VCAP_APP_PORT` isn't exist.
|
||||
port from it (`8000` default). if port variables `PORT` isn't exist.
|
||||
|
||||
To begin use, type in address bar of your browser:
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@ const prefix = squad(prefixer, apart(config, 'prefix'));
|
|||
|
||||
module.exports = (options) => {
|
||||
const port = process.env.PORT || /* c9 */
|
||||
process.env.VCAP_APP_PORT || /* cloudfoundry */
|
||||
config('port');
|
||||
|
||||
const ip = process.env.IP || /* c9 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue