mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-03 22:30:58 +01:00
remove hardcoded port variable
This commit is contained in:
@@ -71,9 +71,7 @@ function welcome(req, res) {
|
||||
|
||||
function install(req, res) {
|
||||
var env = {};
|
||||
|
||||
req.body.port = "4567";
|
||||
|
||||
|
||||
for (var i in req.body) {
|
||||
if (req.body.hasOwnProperty(i)) {
|
||||
env[i.replace(':', '__')] = req.body[i];
|
||||
|
||||
Reference in New Issue
Block a user