From a30e50461405cdccb4ac0d8c5281048b401384d3 Mon Sep 17 00:00:00 2001 From: linbmv <167443537+linbmv@users.noreply.github.com> Date: Wed, 22 May 2024 15:15:45 +0800 Subject: [PATCH] Update uptime.config.ts --- uptime.config.ts | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/uptime.config.ts b/uptime.config.ts index db62850..33634df 100644 --- a/uptime.config.ts +++ b/uptime.config.ts @@ -7,7 +7,7 @@ const pageConfig = { { link: 'https://motley-hickory-brian.glitch.me/', label: 'Linbmv' }, { link: 'mailto:ad@040103.xyz', label: 'Email Me', highlight: true }, ], -} +}; const workerConfig = { // Write KV at most every 3 minutes unless the status changed. @@ -106,9 +106,9 @@ const workerConfig = { }, ], notification: { - appriseApiServer: "https://apprise.example.com/notify", - recipientUrl: "tgram://bottoken/ChatID", - timezone: "Asia/Singapore", + appriseApiServer: 'https://apprise.example.com/notify', + recipientUrl: 'tgram://bottoken/ChatID', + timeZone: 'Asia/Singapore', gracePeriod: 5, }, callbacks: { @@ -127,15 +127,4 @@ const workerConfig = { env: any, monitor: any, timeIncidentStart: number, - timeNow: number, - reason: string - ) => { - // This callback will be called EVERY 1 MINTUE if there's an on-going incident for any monitor - // Write any Typescript code here - }, - }, -}; - -// Don't forget this, otherwise compilation fails. -export { workerConfig } - +