feat: add notify telegram & bark, and some minor fixes

This commit is contained in:
Eric Wang committed 2024-03-18 00:06:31 +08:00
1 parent 63be746b4d
commit 0c6556eda9
6 files changed
+174 -40

No files matched your search

+2 -2
View File
@@ -38,7 +38,7 @@ resource "cloudflare_worker_cron_trigger" "uptimeflare_worker_cron" {
account_id = var.CLOUDFLARE_ACCOUNT_ID
script_name = cloudflare_worker_script.uptimeflare.name
schedules = [
"*/2 * * * *", # every 2 minutes
"* * * * *", # every 1 minute, you can reduce the KV write by increase the worker settings of `kvWriteCooldownMinutes`
]
}
@@ -56,4 +56,4 @@ resource "cloudflare_pages_project" "uptimeflare" {
compatibility_flags = ["nodejs_compat"]
}
}
}
}