Prefix Ntfy titles with app name and remove startup notification
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
acfa21ec38
commit
5b7d689453
5 files changed
+6
-9
No files matched your search
@@ -9,7 +9,7 @@ logger = logging.getLogger("bourbonacci.notify")
|
||||
async def notify(title: str, message: str, priority: str = "default") -> None:
|
||||
if not settings.ntfy_url:
|
||||
return
|
||||
headers = {"Title": title, "Priority": priority}
|
||||
headers = {"Title": f"Bourbonacci Admin - {title}", "Priority": priority}
|
||||
if settings.ntfy_token:
|
||||
headers["Authorization"] = f"Bearer {settings.ntfy_token}"
|
||||
try:
|
||||
|
||||
Reference in new issue
Block a user