deployment, frontend updates
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import os
|
||||
from collections import Counter, defaultdict
|
||||
from datetime import datetime, timedelta
|
||||
from pathlib import Path
|
||||
@@ -8,7 +9,7 @@ from pymongo import MongoClient
|
||||
timezone = ZoneInfo("America/Argentina/Buenos_Aires")
|
||||
utctz = ZoneInfo("UTC")
|
||||
|
||||
client = MongoClient()
|
||||
client = MongoClient(os.environ.get("MONGODB_HOST", "localhost"))
|
||||
db = client.deskmeter
|
||||
switches = db.switch
|
||||
tasks = db.task
|
||||
|
||||
Reference in New Issue
Block a user