mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
handled port as int with toString()
Signed-off-by: Ryan Wilson <syndicated.life@gmail.com>
This commit is contained in:
@@ -74,7 +74,7 @@
|
||||
}
|
||||
|
||||
var hosts = nconf.get('mongo:host').split(',');
|
||||
var ports = nconf.get('mongo:port').split(',');
|
||||
var ports = nconf.get('mongo:port').toString().split(',');
|
||||
var servers = [];
|
||||
|
||||
for (var i = 0; i < hosts.length; i++) {
|
||||
@@ -161,4 +161,3 @@
|
||||
};
|
||||
|
||||
}(exports));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user