Merge pull request #1857 from HeikoGr/master

force declaration of public ip adress in config file (ISSUE #1852)
This commit is contained in:
Michael Teeuw 2020-01-02 16:14:14 +01:00 committed by GitHub
commit c51c09348e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -10,8 +10,11 @@ This project adheres to [Semantic Versioning](http://semver.org/).
*This release is scheduled to be released on 2020-04-01.*
### Added
### Updated
### Fixed
- Force declaration of public ip adress in config file (ISSUE #1852)
## [2.10.0] - 2020-01-01

View File

@ -12,8 +12,8 @@ var config = {
address: "localhost", // Address to listen on, can be:
// - "localhost", "127.0.0.1", "::1" to listen on loopback interface
// - another specific IPv4/6 to listen on a specific interface
// - "", "0.0.0.0", "::" to listen on any interface
// Default, when address config is left out, is "localhost"
// - "0.0.0.0", "::" to listen on any interface
// Default, when address config is left out or empty, is "localhost"
port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
// or add a specific IPv4 of 192.168.1.5 :