Update app.py

This commit is contained in:
rhino 2026-04-10 21:52:55 +00:00
parent 905ed76e66
commit 7b7bafea7e

2
app.py
View file

@ -48,7 +48,7 @@ def send_ntfy(title, message, priority="default", tags=None):
if tags:
headers["Tags"] = ",".join(tags)
if NTFY_TOKEN:
headers["Authorization"] = f"Bearer {NTFY_TOKEN}"
headers["Authorization"] = f"Basic {NTFY_TOKEN}"
requests.post(NTFY_URL, data=message.encode("utf-8"), headers=headers, timeout=10)