1
0
mirror of https://github.com/tormachris/cf-workers-status-page.git synced 2025-09-21 08:25:16 +02:00

5 Commits

Author SHA1 Message Date
f0ec1c016a remove 2023-08-31 18:51:59 +02:00
8e968732b9 expect 401 2022-05-25 11:35:56 +02:00
798408aba1 reduce interval 2022-05-25 10:59:51 +02:00
aa76e3f1ed update application config 2022-05-25 10:58:55 +02:00
7813ff93ac Replace all '-' for monitor name.
Signed-off-by: corvofeng <corvofeng@gmail.com>
2022-02-15 22:08:15 +00:00
3 changed files with 8 additions and 22 deletions

View File

@ -1,6 +1,6 @@
settings:
title: 'Status Page'
url: 'https://status-page.eidam.dev' # used for Slack messages
url: 'https://status.tormakristof.eu' # used for Slack messages
logo: logo-192x192.png # image in ./public/ folder
daysInHistogram: 90 # number of days you want to display in histogram
collectResponseTimes: true # collects avg response times from CRON locations
@ -15,25 +15,11 @@ settings:
dayInHistogramNotOperational: ' incident(s)' # xx incident(s) recorded
monitors:
- id: workers-cloudflare-com # unique identifier
name: workers.cloudflare.com
description: 'You write code. They handle the rest.' # default=empty
url: 'https://workers.cloudflare.com/' # URL to fetch
- id: webgateway # unique identifier
name: webgateway.tormakristof.eu
description: 'On-prem webgateway status' # default=empty
url: 'https://tormakristof.eu/' # URL to fetch
method: GET # default=GET
expectStatus: 200 # operational status, default=200
expectStatus: 301 # operational status, default=200
followRedirect: false # should fetch follow redirects, default=false
linkable: false # allows the title to be a link, default=true
- id: www-cloudflare-com
name: www.cloudflare.com
description: 'Built for anything connected to the Internet.'
url: 'https://www.cloudflare.com'
method: GET
expectStatus: 200
linkable: true # allows the title to be a link, default=true
- id: blog-cloudflare-com
name: The Cloudflare Blog
url: 'https://blog.cloudflare.com/'
method: GET
expectStatus: 200

View File

@ -64,7 +64,7 @@ export async function notifySlack(monitor, operational) {
}
export async function notifyTelegram(monitor, operational) {
const text = `Monitor *${monitor.name.replace(
const text = `Monitor *${monitor.name.replaceAll(
'-',
'\\-',
)}* changed status to *${getOperationalLabel(operational)}*

View File

@ -6,7 +6,7 @@ webpack_config = "node_modules/flareact/webpack"
compatibility_date = "2021-07-23"
[triggers]
crons = ["* * * * *"]
crons = ["*/2 * * * *"]
[site]
bucket = "out"