mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-06 10:58:36 +02:00
updated web installer to auto-select the database if passed in via env var
This commit is contained in:
@@ -65,6 +65,10 @@ function welcome(req, res) {
|
||||
|
||||
res.render('install/index', {
|
||||
databases: databases,
|
||||
dbBool: {
|
||||
redis: nconf.get('database') === 'redis',
|
||||
mongo: nconf.get('database') === 'mongo'
|
||||
},
|
||||
error: res.locals.error ? true : false,
|
||||
success: res.locals.success ? true : false,
|
||||
values: req.body
|
||||
|
||||
Reference in New Issue
Block a user