Update uptime.config.ts

pull/30/head
linbmv 2024-05-22 01:43:20 +08:00 committed by GitHub
parent 7df631c2cd
commit 055eb52ed7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -19,19 +19,19 @@ const workerConfig = {
// `id` should be unique, history will be kept if the `id` remains constant
id: 'foo_monitor',
// `name` is used at status page and callback message
name: 'My API Monitor',
name: 'Linbmv',
// `method` should be a valid HTTP Method
method: 'POST',
// `target` is a valid URL
target: 'https://example.com',
target: 'https://motley-hickory-brian.glitch.me/',
// [OPTIONAL] `tooltip` is ONLY used at status page to show a tooltip
tooltip: 'This is a tooltip for this monitor',
// [OPTIONAL] `statusPageLink` is ONLY used for clickable link at status page
statusPageLink: 'https://example.com',
statusPageLink: 'https://motley-hickory-brian.glitch.me/',
// [OPTIONAL] `expectedCodes` is an array of acceptable HTTP response codes, if not specified, default to 2xx
expectedCodes: [200],
// [OPTIONAL] `timeout` in millisecond, if not specified, default to 10000
timeout: 10000,
timeout: 199,
// [OPTIONAL] headers to be sent
headers: {
'User-Agent': 'Uptimeflare',