This commit is contained in:
behrooz
2025-11-02 13:00:11 +03:30
parent 44c75b2f5c
commit fbc48792bf
3 changed files with 6 additions and 6 deletions

View File

@@ -14,7 +14,7 @@ var (
)
func InitDB() {
clientOptions := options.Client().ApplyURI("mongodb://root:secret123@130.185.77.247:31141/")
clientOptions := options.Client().ApplyURI("mongodb://root:secret123@130.185.77.247:32669/")
client, err := mongo.Connect(context.TODO(), clientOptions)
if err != nil {
log.Fatal(err)