Update app.py
This commit is contained in:
parent
905ed76e66
commit
7b7bafea7e
1 changed files with 1 additions and 1 deletions
2
app.py
2
app.py
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue