Update uptime.config.ts

target:
pull/160/head
XUZHONGXIN 2025-08-02 00:03:39 +08:00 committed by GitHub
parent 7c1884e011
commit b7a762d798
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 5 deletions

View File

@ -25,15 +25,13 @@ const workerConfig: WorkerConfig = {
// passwordProtection: 'username:password', // passwordProtection: 'username:password',
// Define all your monitors here // Define all your monitors here
monitors: [ monitors: [
// Example HTTP Monitor
{ {
id: 'xinnew.top', id: 'xinnew.top',
name: '企业全球门户', name: '企业全球门户',
// `method` should be `TCP_PING` for tcp monitors // `method` should be `TCP_PING` for tcp monitors
method: 'GET', method: 'GET',
// `target` should be `host:port` for tcp monitors // `target` should be `host:port` for tcp monitors
statusPageLink: 'https://xinnew.top', target: 'https://xinnew.top',
timeout: 5000, timeout: 5000,
}, },
{ {
@ -42,7 +40,7 @@ const workerConfig: WorkerConfig = {
// `method` should be `TCP_PING` for tcp monitors // `method` should be `TCP_PING` for tcp monitors
method: 'GET', method: 'GET',
// `target` should be `host:port` for tcp monitors // `target` should be `host:port` for tcp monitors
statusPageLink: 'https://gemini-sg.xinnew.top', target: 'https://gemini-sg.xinnew.top',
timeout: 5000, timeout: 5000,
}, },
{ {
@ -51,7 +49,7 @@ const workerConfig: WorkerConfig = {
// `method` should be `TCP_PING` for tcp monitors // `method` should be `TCP_PING` for tcp monitors
method: 'TCP_PING', method: 'TCP_PING',
// `target` should be `host:port` for tcp monitors // `target` should be `host:port` for tcp monitors
statusPageLink: 'https://gemini.xinnew.top', target: 'https://gemini.xinnew.top',
timeout: 5000, timeout: 5000,
}, },
], ],