summaryrefslogtreecommitdiff
path: root/app/utils/env.py
diff options
context:
space:
mode:
authorl3wdfut4pwr <l3wdfut4pwr@gmail.com>2026-04-27 13:45:09 +0300
committerl3wdfut4pwr <l3wdfut4pwr@gmail.com>2026-04-27 13:45:09 +0300
commit4848a9e9394b283022085a6305d00f94b11cd703 (patch)
treed7ba45885f110e8ded4af20bc98b9f88f75b1f4a /app/utils/env.py
parentf1842be3bfabe7850d33662da2da377676144c48 (diff)
add username change and logout
Diffstat (limited to 'app/utils/env.py')
-rw-r--r--app/utils/env.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/utils/env.py b/app/utils/env.py
index e69de29..76b61a7 100644
--- a/app/utils/env.py
+++ b/app/utils/env.py
@@ -0,0 +1,5 @@
+from pathlib import Path
+
+from dotenv import load_dotenv
+
+load_dotenv(Path(__file__).resolve().parents[2] / ".env")