-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default port on local without ports #17
Comments
Seems like, in theory, you could do this by having an {
vcap: {
application: {
port: myPortNumber
}
}
} Doesn't look like this would work today, as only env vars are checked, but ... the code could be changed to check that also. Advantage of doing it that way is there are fewer options to set the port, which should make it easier to figure out what port to actually use. Disadvantage is that it's a bit of a mouthful to use - an explicit |
Is there still any interest in doing something here? |
We should be able to set a default port if we don't want to use
ports
package.Why not in
options
ofcfenv.getAppEnv(options)
?The text was updated successfully, but these errors were encountered: