zyliu commited on
Commit
525af2f
·
1 Parent(s): b172f75

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ import os
8
  # client = pymongo.MongoClient("mongodb://localhost:27017/")
9
  # db = client["todo_db"]
10
 
11
- uri = environ.get("mongo_uri", None)
12
  # Create a new client and connect to the server
13
  client = pymongo.MongoClient(uri, server_api=ServerApi('1'))
14
  db = client["todo_db"]
 
8
  # client = pymongo.MongoClient("mongodb://localhost:27017/")
9
  # db = client["todo_db"]
10
 
11
+ uri = os.environ.get("mongo_uri", None)
12
  # Create a new client and connect to the server
13
  client = pymongo.MongoClient(uri, server_api=ServerApi('1'))
14
  db = client["todo_db"]