feature(server) drop support of VCAP_APP_PORT

This commit is contained in:
coderaiser 2018-06-12 10:33:01 +03:00
parent abc6f7b22e
commit 432c571f55
2 changed files with 1 additions and 2 deletions

View file

@ -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:

View file

@ -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 */