From a518d3f33f77ad2b208afd0c95918d1debb9cf18 Mon Sep 17 00:00:00 2001 From: Chris van Marle Date: Thu, 31 Aug 2017 18:24:26 +0200 Subject: [PATCH] Describe default in comment of sample config --- config/config.js.sample | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/config/config.js.sample b/config/config.js.sample index 8619a1a9..a9089da9 100644 --- a/config/config.js.sample +++ b/config/config.js.sample @@ -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 :