Describe default in comment of sample config

This commit is contained in:
Chris van Marle 2017-08-31 18:24:26 +02:00
parent 2f05228d91
commit a518d3f33f

View File

@ -9,10 +9,11 @@
*/ */
var config = { var config = {
address: "", // Address to listen on, can be address: "", // Address to listen on, can be:
// "localhost", "127.0.0.1", "::1" to listen on loopback interface // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
// another specific IPv4/6 to listen on a specific interface // - another specific IPv4/6 to listen on a specific interface
// "", "0.0.0.0", "::" to listen on any interface // - "", "0.0.0.0", "::" to listen on any interface
// Default, when address config is left out, is "localhost"
port: 8080, port: 8080,
ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses 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 : // or add a specific IPv4 of 192.168.1.5 :