mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-09-10 12:56:13 +08:00
[Ntfy] don't include url action with defaut URL value
This commit is contained in:
@@ -56,7 +56,7 @@ class Ntfy extends NotificationProvider {
|
|||||||
"tags": tags,
|
"tags": tags,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (monitorJSON.url) {
|
if (monitorJSON.url && monitorJSON.url !== "https://") {
|
||||||
data.actions = [
|
data.actions = [
|
||||||
{
|
{
|
||||||
"action": "view",
|
"action": "view",
|
||||||
|
Reference in New Issue
Block a user