Skip to content

Commit 092b9f1

Browse files
committed
Add environment variable loading to dashboard app
1 parent 23fe8fb commit 092b9f1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

dashboard/app.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"""
99

1010
import logging
11-
11+
from dotenv import load_dotenv
1212
from fasthtml.common import *
1313
from monsterui.all import *
1414
from fasthtml.svg import *
@@ -19,6 +19,10 @@
1919
from state import AppState
2020

2121

22+
# load the environment variables
23+
load_dotenv(override=True)
24+
25+
2226
log = logging.getLogger("anomstack")
2327

2428

0 commit comments

Comments
 (0)