diff options
author | Ignacio Serrano <ignic@ignic.com> | 2024-10-01 20:32:37 +0200 |
---|---|---|
committer | Ignacio Serrano <ignic@ignic.com> | 2024-10-01 20:32:37 +0200 |
commit | 5135e836b82d36e49dd34ebde7ad2aedda6f8af2 (patch) | |
tree | 2dc8eb63e126bfce691c3a611b6e85ad8d7c95ba /mod | |
parent | f75e701be3ceb89615bd29a2bce1404f1bf4117c (diff) |
mod/notification-ntfy: fix ntfy overrides
Diffstat (limited to 'mod')
-rw-r--r-- | mod/notification-ntfy.rsc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/notification-ntfy.rsc b/mod/notification-ntfy.rsc index 661f69f..b2bb280 100644 --- a/mod/notification-ntfy.rsc +++ b/mod/notification-ntfy.rsc @@ -87,7 +87,7 @@ :return false; } - :local Url ("https://" . $NtfyServer . "/" . [ $UrlEncode $NtfyTopic ]); + :local Url ("https://" . $Server . "/" . [ $UrlEncode $Topic ]); :local Headers ({ [ $FetchUserAgentStr ($Notification->"origin") ]; \ ("Priority: " . [ $IfThenElse ($Notification->"silent") "low" "default" ]); \ ("Title: " . "[" . $IdentityExtra . $Identity . "] " . ($Notification->"subject")) }); @@ -97,7 +97,7 @@ } :do { - :if ($NtfyServer = "ntfy.sh") do={ + :if ($Server = "ntfy.sh") do={ :if ([ $CertificateAvailable "ISRG Root X1" ] = false) do={ $LogPrint warning $0 ("Downloading required certificate failed."); :error false; |