From 726492f53fb7f56e7fdd7f3a807e9db7a7519a0b Mon Sep 17 00:00:00 2001 From: Niu-820 Date: Sun, 17 Nov 2024 22:05:01 +0800 Subject: [PATCH] Update uptime.config.ts --- uptime.config.ts | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/uptime.config.ts b/uptime.config.ts index b366e27..8e26fd6 100644 --- a/uptime.config.ts +++ b/uptime.config.ts @@ -1,5 +1,5 @@ const pageConfig = { - title: "lyc8503's Status Page", + title: "nbtca's Status Page", links: [ { link: 'https://github.com/lyc8503', label: 'GitHub' }, { link: '15955434043@163.con', label: 'Email Me', highlight: true }, @@ -8,7 +8,7 @@ const pageConfig = { const workerConfig = { kvWriteCooldownMinutes: 3, - passwordProtection: 'username:password', + passwordProtection: 'admin:123456', monitors: [ { id: 'nbtca.space', @@ -20,6 +20,16 @@ const workerConfig = { expectedCodes: [200], timeout: 10000, }, + { + id: 'webhook.nbtca.space', + name: 'webhook.nbtca.space', + method: 'GET', + target: 'https://webhook.nbtca.space/', + tooltip: '监控webhook.nbtca.link', + statusPageLink: 'https://webhook.nbtca.space/', + expectedCodes: [200], + timeout: 10000, + }, ], callbacks: { onStatusChange: async (