mirror of
https://github.com/tomasriveral/vps-config.git
synced 2026-08-12 02:28:38 +02:00
add ntfy topic
This commit is contained in:
@@ -150,7 +150,7 @@ def send_to_archivebox(url):
|
|||||||
def notify_failure(url):
|
def notify_failure(url):
|
||||||
try:
|
try:
|
||||||
requests.post(
|
requests.post(
|
||||||
NTFY_URL,
|
NTFY_URL + "/Alerts",
|
||||||
data=f"Failed to archive {url}",
|
data=f"Failed to archive {url}",
|
||||||
auth=("", NTFY_TOKEN),
|
auth=("", NTFY_TOKEN),
|
||||||
timeout=10
|
timeout=10
|
||||||
|
|||||||
Reference in New Issue
Block a user