Added use selfhosted ntfy

This commit is contained in:
Fabian Sasse
2022-11-14 13:39:46 +01:00
parent 0dbf06a2e6
commit e0bec8a9d4
2 changed files with 2 additions and 2 deletions

View File

@@ -1488,7 +1488,7 @@ def email_reporting ():
closeDB()
#-------------------------------------------------------------------------------
def send_ntfy (_Text):
requests.post("https://ntfy.sh/{}".format(NTFY_TOPIC),
requests.post("{}/{}".format( NTFY_HOST,NTFY_TOPIC),
data=_Text,
headers={
"Title": "Pi.Alert Notification",