Update uptime.config.ts

pull/30/head
linbmv 2024-05-22 15:15:45 +08:00 committed by GitHub
parent da895403d5
commit a30e504614
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 16 deletions

View File

@ -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 }