Skip to content
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.

Commit

Permalink
Adding srv to connection string
Browse files Browse the repository at this point in the history
  • Loading branch information
ilian2233 committed May 10, 2023
1 parent 6457a4b commit 25044ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mongoLib.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
)

const (
docDBConnStrTemplate = "mongodb://%s:%s@%s/?ssl=true&ssl_ca_certs=rds-combined-ca-bundle.pem&replicaSet=rs0&readPreference=secondaryPreferred&retryWrites=false"
docDBConnStrTemplate = "mongodb+srv://%s:%s@%s/?ssl=true&ssl_ca_certs=rds-combined-ca-bundle.pem&replicaSet=rs0&readPreference=secondaryPreferred&retryWrites=false"
caFilePath = "rds-combined-ca-bundle.pem"
)

Expand Down

0 comments on commit 25044ea

Please sign in to comment.