From 6f1c2d57016673e490d1612c22d2d41e23ae3ff4 Mon Sep 17 00:00:00 2001 From: ansuz Date: Thu, 12 Apr 2018 17:39:17 +0200 Subject: [PATCH] add leading space before 'domain' in config.example.js --- config.example.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config.example.js b/config.example.js index 3aace0d4a..166fd74a8 100644 --- a/config.example.js +++ b/config.example.js @@ -2,7 +2,7 @@ /* globals module */ -var domain = ' http://localhost:3000/'; +var domain = 'http://localhost:3000/'; // You can `kill -USR2` the node process and it will write out a heap dump. // If your system doesn't support dumping, comment this out and install with @@ -12,6 +12,10 @@ var domain = ' http://localhost:3000/'; // to enable this feature, uncomment the line below: // require('heapdump'); + +// we prepend a space because every usage expects it +// requiring admins to preserve it is unnecessarily confusing +domain = ' ' + domain; module.exports = { // the address you want to bind to, :: means all ipv4 and ipv6 addresses