Update uptime.config.ts
parent
da895403d5
commit
a30e504614
|
|
@ -7,7 +7,7 @@ const pageConfig = {
|
||||||
{ link: 'https://motley-hickory-brian.glitch.me/', label: 'Linbmv' },
|
{ link: 'https://motley-hickory-brian.glitch.me/', label: 'Linbmv' },
|
||||||
{ link: 'mailto:ad@040103.xyz', label: 'Email Me', highlight: true },
|
{ link: 'mailto:ad@040103.xyz', label: 'Email Me', highlight: true },
|
||||||
],
|
],
|
||||||
}
|
};
|
||||||
|
|
||||||
const workerConfig = {
|
const workerConfig = {
|
||||||
// Write KV at most every 3 minutes unless the status changed.
|
// Write KV at most every 3 minutes unless the status changed.
|
||||||
|
|
@ -106,9 +106,9 @@ const workerConfig = {
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
notification: {
|
notification: {
|
||||||
appriseApiServer: "https://apprise.example.com/notify",
|
appriseApiServer: 'https://apprise.example.com/notify',
|
||||||
recipientUrl: "tgram://bottoken/ChatID",
|
recipientUrl: 'tgram://bottoken/ChatID',
|
||||||
timezone: "Asia/Singapore",
|
timeZone: 'Asia/Singapore',
|
||||||
gracePeriod: 5,
|
gracePeriod: 5,
|
||||||
},
|
},
|
||||||
callbacks: {
|
callbacks: {
|
||||||
|
|
@ -127,15 +127,4 @@ const workerConfig = {
|
||||||
env: any,
|
env: any,
|
||||||
monitor: any,
|
monitor: any,
|
||||||
timeIncidentStart: number,
|
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 }
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue