mirror of
https://github.com/viq/NewsBlur.git
synced 2025-04-13 09:38:09 +00:00
Flask requires a string
This commit is contained in:
parent
3399ead66f
commit
47a8173e39
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ def db_check_mysql():
|
|||
|
||||
@app.route("/db_check/mongo")
|
||||
def db_check_mongo():
|
||||
return 1
|
||||
return str(1)
|
||||
try:
|
||||
# client = pymongo.MongoClient(f"mongodb://{settings.MONGO_DB['username']}:{settings.MONGO_DB['password']}@db-mongo.server.nyc1.consul?authSource=admin")
|
||||
client = pymongo.MongoClient(f"mongodb://db-mongo.server.nyc1.consul")
|
||||
|
|
Loading…
Add table
Reference in a new issue