feat: add optional dashboard config fields

Made-with: Cursor
This commit is contained in:
cottongin
2026-03-12 07:12:10 -04:00
parent e5c06a2f67
commit 7ed7ace578
2 changed files with 32 additions and 0 deletions

View File

@@ -12,3 +12,11 @@ class Settings(BaseSettings):
soundcloud_user: str = "nicktherat"
show_day: int = 2
show_hour: int = 22
web_user: str | None = None
web_password: str | None = None
secret_key: str | None = None
@property
def dashboard_enabled(self) -> bool:
return all([self.web_user, self.web_password, self.secret_key])