mirror of
https://github.com/tomasriveral/vps-config.git
synced 2026-10-02 18:14:28 +02:00
add ntfy topic
This commit is contained in:
1 parent
15df377958
commit
22bec6afde
1 file changed
+1
-1
@@ -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