Skip to content

Commit

Permalink
Describe default in comment of sample config
Browse files Browse the repository at this point in the history
  • Loading branch information
qistoph committed Sep 1, 2017
1 parent 00c0f86 commit dfcbfad
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions config/config.js.sample
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@
*/

var config = {
address: "", // 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
address: "", // 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"
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 :
Expand Down

0 comments on commit dfcbfad

Please sign in to comment.