Node.js based forum software built for the modern web
fixing regression introduced where the client-side config was incorrectly generated (resolves #94)
Julian Lam2f1ef4c2a132
diff --git a/src/install.js b/src/install.jsindex de7cb1e164..5954f7e30e 100644--- a/src/install.js+++ b/src/install.js@@ -39,7 +39,17 @@ var async = require('async'),async.eachSeries(install.questions, function(question, next) {var question = question.split('|');install.ask(question[1], function(value) {- if (value !== '') config[question[0]] = value;+ switch(question[0]) {+ case 'use_port':+ value = value.toLowerCase();+ if (['y', 'yes', ''].indexOf(value) === -1) config[question[0]] = false;+ break;++ default:+ if (value !== '') config[question[0]] = value;+ break;+ }+next();});}, function() {