From fc3f4ef3c52371fad432d523c2fa304dd973c2d5 Mon Sep 17 00:00:00 2001 From: junhao niu Date: Tue, 3 Dec 2024 18:36:06 +0800 Subject: [PATCH] Update uptime.config.ts --- uptime.config.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/uptime.config.ts b/uptime.config.ts index 13f1c3b..b67e63c 100644 --- a/uptime.config.ts +++ b/uptime.config.ts @@ -42,12 +42,11 @@ const workerConfig = { { id: 'mc.nbtca.space', name: 'mc.nbtca.space', - method: 'TCP', // Using TCP method instead of GET - target: 'mc.nbtca.space', - tooltip: '监控 nbtca.space 的TCP端口', + target: 'mc.nbtca.space', // 目标地址 + port: 25565, // Minecraft的默认端口 + tooltip: '监控 mc.nbtca.space 的TCP端口', statusPageLink: 'https://mc.nbtca.space', - port: 25565, // TCP端口,通常是HTTP的80或HTTPS的443,取决于监控目标 - timeout: 10000, + timeout: 10000, // 设置一个合理的超时时间 }, ], callbacks: {