-
Notifications
You must be signed in to change notification settings - Fork 286
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(common): servers.startOnPort() host arg #527
Extends the existing functionality of the utility method so that it can accept a 'host' parameter where callers can specify if they want to bind to the wildcard network interface of `0.0.0.0` for example. The default option of the host argument is localhost so that we are *secure by default* even if this method is only used for testing code, it cannot hurt to be on the safe side. Fixes #527 Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
- Loading branch information
Showing
1 changed file
with
11 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters