Node.js based forum software built for the modern web
resolving regression introduced by errant install script (again) - issue 94
Julian Lamd3541da9ddc8
diff --git a/src/install.js b/src/install.jsindex 5954f7e30e..9c64acdc28 100644--- a/src/install.js+++ b/src/install.js@@ -43,7 +43,19 @@ var async = require('async'),case 'use_port':value = value.toLowerCase();if (['y', 'yes', ''].indexOf(value) === -1) config[question[0]] = false;- break;+ break;+ case 'redis:host':+ config.redis = config.redis || {};+ config.redis.host = value;+ break;+ case 'redis:port':+ config.redis = config.redis || {};+ config.redis.port = value;+ break;+ case 'redis:password':+ config.redis = config.redis || {};+ config.redis.password = value;+ break;default:if (value !== '') config[question[0]] = value;