mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-17 08:50:58 -05:00
Add Sao Paulo database condition
This commit is contained in:
parent
704c05bbe5
commit
be80b1e355
1 changed files with 2 additions and 0 deletions
|
@ -23,6 +23,8 @@ module.exports.connect = () ->
|
|||
module.exports.generateMongoConnectionString = ->
|
||||
if not testing and config.tokyo
|
||||
address = config.mongo.mongoose_tokyo_replica_string
|
||||
else if not testing and config.saoPaulo
|
||||
address = config.mongo.mongoose_saoPaulo_replica_string
|
||||
else if not testing and config.mongo.mongoose_replica_string
|
||||
address = config.mongo.mongoose_replica_string
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue