Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
blastomussa committed Oct 3, 2022
1 parent 132d882 commit 2fc9beb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
PRIMARY_KEY = getenv('COSMOS_PRIMARY_KEY')
DB_NAME = getenv('COSMOS_DB_NAME')
COLLECTION_NAME = getenv('COSMOS_COLL_NAME')
CONNECTION_STRING = "mongodb://" + str(COSMOS_ACC_NAME) + ":" + str(PRIMARY_KEY) + "@" + str(COSMOS_ACC_NAME) + ".mongo.cosmos.azure.com:10255/?ssl=true\u0026replicaSet=globaldb\u0026retrywrites=false\u0026maxIdleTimeMS=120000\u0026appName=@" + str(COSMOS_ACC_NAME) + "@"
CONNECTION_STRING = f"mongodb://{COSMOS_ACC_NAME}:{PRIMARY_KEY}@{COSMOS_ACC_NAME}.mongo.cosmos.azure.com:10255/?ssl=true\u0026replicaSet=globaldb\u0026retrywrites=false\u0026maxIdleTimeMS=120000\u0026appName=@{COSMOS_ACC_NAME}@"
API_IP = getenv('API_IP')
API_URL = 'http://' + str(API_IP) + '/api/v1'

Expand Down

0 comments on commit 2fc9beb

Please sign in to comment.