This commit is contained in:
timka123 committed 2026-10-19 09:41:32 +03:00
1 parent 4bdbc8bfa8
commit 2be074f191
22 files changed
+1034 -25

No files matched your search

+11
View File
@@ -85,6 +85,17 @@ class EnvSettings(BaseSettings):
telegram_chat_id: str = ""
slack_webhook_url: str = ""
# ---- web login (closes the browser UI; the desktop app keeps API_TOKEN) ---
auth_username: str = "timka"
auth_password: str = ""
"""Set once; the hash is seeded into settings on first boot, never stored here."""
telegram_owner_id: str = ""
"""Your numeric Telegram user id — https://t.me/userinfobot says it in a DM."""
telegram_bot_username: str = ""
"""Without the `@`. Needed to render the Telegram Login Widget."""
@property
def cors_origin_list(self) -> list[str]:
if self.cors_origins.strip() == "*":