Add default-server ntfy auth (fix 403 on protected topics)
build-and-push / docker (push) Has been cancelled

The "send test" action, admin alerts and feeds without their own
credentials now use configurable default-server token / basic auth,
so publishing works against ntfy servers with access control enabled.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
dimon
2026-06-02 21:47:12 +08:00
parent bf52bc3079
commit e696537fe1
7 changed files with 50 additions and 3 deletions
+3
View File
@@ -47,6 +47,9 @@ class FeedIn(BaseModel):
class SettingsIn(BaseModel):
default_ntfy_server: str = "https://ntfy.sh"
default_ntfy_token: str = ""
default_ntfy_username: str = ""
default_ntfy_password: str = ""
check_interval: int = 5
auth_enabled: bool = False
# Telegram