add leading space before 'domain' in config.example.js

pull/1/head
ansuz 7 years ago
parent bc35c3349f
commit 6f1c2d5701

@ -2,7 +2,7 @@
/* /*
globals module 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. // 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 // 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: // to enable this feature, uncomment the line below:
// require('heapdump'); // require('heapdump');
// we prepend a space because every usage expects it
// requiring admins to preserve it is unnecessarily confusing
domain = ' ' + domain;
module.exports = { module.exports = {
// the address you want to bind to, :: means all ipv4 and ipv6 addresses // the address you want to bind to, :: means all ipv4 and ipv6 addresses

Loading…
Cancel
Save