mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-01-03 16:20:06 -06:00
correct db host
This commit is contained in:
@@ -2,7 +2,7 @@ function initiateReplicaSet() {
|
||||
try {
|
||||
rs.initiate({
|
||||
_id: "rs0",
|
||||
members: [{ _id: 0, host: "localhost:27017" }],
|
||||
members: [{ _id: 0, host: "mongodb:27017" }],
|
||||
});
|
||||
} catch (e) {
|
||||
print("Replica set already initiated or error occurred: " + e);
|
||||
|
||||
Reference in New Issue
Block a user