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

update mongo

parent 645ecf31
...@@ -11,7 +11,7 @@ import ( ...@@ -11,7 +11,7 @@ import (
) )
func ConnectDB() *mongo.Client { func ConnectDB() *mongo.Client {
client, err := mongo.NewClient(options.Client().ApplyURI("mongodb://admin:xejP3257@18.142.161.88/Esan-Shabu?authSource=admin&retryWrites=true&w=majority")) client, err := mongo.NewClient(options.Client().ApplyURI("mongodb://admin:xejP3257@20.239.188.252/Esan-Shabu?authSource=admin&retryWrites=true&w=majority"))
if err != nil { if err != nil {
log.Fatal("err") 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