This commit is contained in:
JiriUhlir
2026-09-03 10:52:54 +02:00
parent a922117b3d
commit a70e9f9864
5 changed files with 30 additions and 27 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ def _list(name: str) -> list[str]:
@dataclass(frozen=True)
class Settings:
app_name: str = field(default_factory=lambda: os.getenv("APP_NAME", "html-to-pdf"))
app_version: str = field(default_factory=lambda: os.getenv("APP_VERSION", "1.0.1"))
app_version: str = field(default_factory=lambda: os.getenv("APP_VERSION", "1.0.2"))
root_path: str = field(
default_factory=lambda: os.getenv("ROOT_PATH") or os.getenv("BASE_PATH") or ""
)