Refactor logging setup and enhance debug information in FastAPI application

This commit is contained in:
2025-02-10 21:03:26 +01:00
parent 66bfa96129
commit b5a0afc60c
7 changed files with 36 additions and 8 deletions

View File

@ -3,10 +3,10 @@ from __future__ import annotations
import os
from pathlib import Path
from dotenv import find_dotenv, load_dotenv
from dotenv import load_dotenv
# Load environment variables
load_dotenv(find_dotenv(), verbose=True)
load_dotenv(verbose=True)
webhook_url: str = os.environ["WEBHOOK_URL"]
serve_domain: str = os.environ["SERVE_DOMAIN"].removesuffix("/")