Commit a2a0fbf3 authored by Ai-Sasit's avatar Ai-Sasit

update mongo

parent 50f5e31c
......@@ -11,7 +11,7 @@ import (
)
func ConnectDB() *mongo.Client {
client, err := mongo.NewClient(options.Client().ApplyURI("mongodb://Pukky:xejP3257@esarnshabu-database/?authSource=admin&retryWrites=true&w=majority"))
client, err := mongo.NewClient(options.Client().ApplyURI("mongodb://admin:xejP3257@18.142.161.88/Esan-Shabu?authSource=admin&retryWrites=true&w=majority"))
if err != nil {
log.Fatal("err")
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment