Skip to content

Commit

Permalink
Update uptime.config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Niu-820 authored Dec 3, 2024
1 parent dd284ce commit 40363a6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions uptime.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,16 @@ const workerConfig = {
expectedCodes: [200],
timeout: 10000,
},
{
id: 'mc.nbtca.space',
name: 'mc.nbtca.space',
method: 'TCP', // Using TCP method instead of GET
target: 'mc.nbtca.space',
tooltip: '监控 nbtca.space 的TCP端口',
statusPageLink: 'https://mc.nbtca.space',
port: 25565, // TCP端口,通常是HTTP的80或HTTPS的443,取决于监控目标
timeout: 10000,
},
],
callbacks: {
onStatusChange: async (
Expand Down

0 comments on commit 40363a6

Please # to comment.