From 40363a6b1da5e012038bf5194f107686af453205 Mon Sep 17 00:00:00 2001 From: junhao niu Date: Tue, 3 Dec 2024 18:26:49 +0800 Subject: [PATCH] Update uptime.config.ts --- uptime.config.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/uptime.config.ts b/uptime.config.ts index 621cb1a..13f1c3b 100644 --- a/uptime.config.ts +++ b/uptime.config.ts @@ -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 (