diff --git a/app.py b/app.py index 6d7ae65..abf3499 100644 --- a/app.py +++ b/app.py @@ -30,7 +30,7 @@ # app init app = Flask(__name__) app.rdb = rdb = RedisIO(config.REDIS_URL) -app.mdb = mdb = PyMongo(app, config.MONGO_URL).db +app.mdb = mdb = PyMongo(app, config.MONGO_URL + "?retryWrites=false").db CORS(app)