Browse Source

rm db authentication

pull/1/head
songmeo 8 months ago
parent
commit
9adf269528
  1. 1
      main.py

1
main.py

@ -14,7 +14,6 @@ app = Flask(__name__)
#mongodb = MongoClient('mongodb://172.21.27.1,172.21.27.2,172.21.27.3:27017/', replicaSet="kspace-mongo-set").kspace_accounting
mongodb = MongoClient(const.MONGO_URI)
mongodb = mongodb.get_default_database()
mongodb.authenticate("kspace_accounting", os.environ["MONGO_PASSWORD"])
DOORBOY_SECRET = os.environ["DOORBOY_SECRET"]

Loading…
Cancel
Save