Skip to content

Commit

Permalink
Simplifying flask mongo DB template
Browse files Browse the repository at this point in the history
  • Loading branch information
minh-t-nguyen committed Mar 10, 2022
1 parent cd997eb commit b9a60e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask-mongo-template/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
app.config['MONGO_DBNAME'] = 'database'

# URI of database
app.config['MONGO_URI'] = "mongodb+srv://feedbackLoop:[email protected]/database?retryWrites=true&w=majority"
app.config['MONGO_URI'] = "<mongo_uri_here>"

#Initialize PyMongo
mongo = PyMongo(app)
Expand Down

0 comments on commit b9a60e5

Please sign in to comment.