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

2 Commits

Author SHA1 Message Date
66bab8d9c7 fix: config indentation 2022-02-06 12:20:45 +01:00
81b35546c3 updated 2022-02-06 19:32:57 +13:00
4 changed files with 28 additions and 16 deletions

View File

@ -1,5 +1,5 @@
settings:
title: 'Status Page'
title: 'Killzone Gaming Status'
url: 'https://status-page.eidam.dev' # used for Slack messages
logo: logo-192x192.png # image in ./public/ folder
daysInHistogram: 90 # number of days you want to display in histogram
@ -15,25 +15,37 @@ 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: www-kzg-gg # unique identifier
name: kzg.gg | Killzone Gaming Forums
description: '' # default=empty
url: 'https://kzg.gg' # URL to fetch
method: GET # default=GET
expectStatus: 200 # 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
- id: www-bans-kzg-gg
name: bans.kzg.gg | Killzone Gaming SourceBans
description: 'Built for anything connected to the Internet.'
url: 'https://www.cloudflare.com'
url: 'https://stats.kzg.gg'
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/'
- id: stats-kzg-gg
name: stats.kzg.gg | Killzone Gaming Statistics
url: 'https://stats.kzg.gg'
method: GET
expectStatus: 200
- id: steamid-kzg-gg
name: steamid.kzg.gg | Killzone Gaming SteamID
url: 'https://steamid.kzg.gg'
method: GET
expectStatus: 200
- id: shorturl-kzg-gg
name: kzg.link | Killzone Gaming URL Shortner
url: 'https://kzg.link'
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.replaceAll(
const text = `Monitor *${monitor.name.replace(
'-',
'\\-',
)}* 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"

View File

@ -1392,9 +1392,9 @@ async-limiter@~1.0.0:
integrity sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==
async@^2.6.2:
version "2.6.4"
resolved "https://registry.yarnpkg.com/async/-/async-2.6.4.tgz#706b7ff6084664cd7eae713f6f965433b5504221"
integrity sha512-mzo5dfJYwAn29PeiJ0zvwTo04zj8HDJj0Mn8TD7sno7q12prdbnasKJHhkm2c1LgrhlJ0teaea8860oxi51mGA==
version "2.6.3"
resolved "https://registry.yarnpkg.com/async/-/async-2.6.3.tgz#d72625e2344a3656e3a3ad4fa749fa83299d82ff"
integrity sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==
dependencies:
lodash "^4.17.14"