Misc. CICD fixes
This commit is contained in:
+2
-1
@@ -14,7 +14,8 @@ app = Flask(__name__)
|
||||
# ---------------------------------------------------------
|
||||
|
||||
# Configure MongoDB connection (adjust the URI as needed for your environment)
|
||||
client = MongoClient("mongodb://localhost:27017/")
|
||||
MONGO_URI = os.getenv("MONGO_URI", "mongodb://localhost:27017/")
|
||||
client = MongoClient(MONGO_URI)
|
||||
db = client["microwave_network_db"]
|
||||
cooking_collection = db["cooking_parameters"]
|
||||
device_network_collection = db["device_network"]
|
||||
|
||||
Reference in New Issue
Block a user