mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +01:00
fixing issue where the default for "use_port" ended up being no. Now yes.
This commit is contained in:
@@ -24,7 +24,7 @@ var async = require('async'),
|
||||
}, {
|
||||
name: 'use_port',
|
||||
description: 'Use a port number to access NodeBB?',
|
||||
'default': (nconf.get('use_port') ? 'y' : 'n') || 'y',
|
||||
'default': (nconf.get('use_port') !== undefined ? (nconf.get('use_port') ? 'y' : 'n') : 'y'),
|
||||
pattern: /y[es]*|n[o]?/,
|
||||
message: 'Please enter \'yes\' or \'no\'',
|
||||
}, {
|
||||
|
||||
Reference in New Issue
Block a user