CosmoAI commited on
Commit
40045f8
1 Parent(s): 84150a6

Update remainder.py

Browse files
Files changed (1) hide show
  1. remainder.py +2 -1
remainder.py CHANGED
@@ -4,7 +4,8 @@ import uuid
4
  import os
5
  from pymongo import MongoClient
6
 
7
- uri = os.environ["MONGO_CONNECTION_STRING"]
 
8
  client = MongoClient(uri,tlsCertificateKeyFile= "cert.pem")
9
 
10
  db = client["mydata"]
 
4
  import os
5
  from pymongo import MongoClient
6
 
7
+ # uri = os.environ["MONGO_CONNECTION_STRING"]
8
+ uri = "mongodb+srv://cluster0.j2p0gjo.mongodb.net/?authSource=%24external&authMechanism=MONGODB-X509&retryWrites=true&w=majority"
9
  client = MongoClient(uri,tlsCertificateKeyFile= "cert.pem")
10
 
11
  db = client["mydata"]