From 023fadbd13f40fa8aef38994a2737c49e7d411e9 Mon Sep 17 00:00:00 2001 From: JGZYES Date: Tue, 1 Sep 2026 21:26:57 +0800 Subject: [PATCH] =?UTF-8?q?web:=20hide=20mirror=20server=20IPs=20(anti=20D?= =?UTF-8?q?DoS/CC)=20=E2=80=94=20show=20only=20mirror=20hostnames=20in=20s?= =?UTF-8?q?tatus=20cards/footer/status.php?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/index.php | 10 +++++----- web/status.php | 5 ++--- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/web/index.php b/web/index.php index d7b9aef..da490cc 100644 --- a/web/index.php +++ b/web/index.php @@ -110,14 +110,14 @@ for ($r = 0; $r < $ROWS; $r++)
深圳
-
120.24.78.176
-
sz.pmm.parlz.com
+
sz.pmm.parlz.com
+
https://sz.pmm.parlz.com/mirror/packages
检测中…
香港
-
38.76.190.153
-
pmm.parlz.com
+
pmm.parlz.com
+
https://pmm.parlz.com/mirror/packages
检测中…
@@ -207,7 +207,7 @@ pmm -v Releases 回到顶部 - + diff --git a/web/status.php b/web/status.php index 1534442..59cdbe4 100644 --- a/web/status.php +++ b/web/status.php @@ -6,8 +6,8 @@ header('Content-Type: application/json; charset=utf-8'); header('Cache-Control: no-store'); $servers = [ - ['name'=>'深圳', 'ip'=>'120.24.78.176', 'url'=>'https://sz.pmm.parlz.com/mirror/packages/pmm.json'], - ['name'=>'香港', 'ip'=>'38.76.190.153', 'url'=>'https://pmm.parlz.com/mirror/packages/pmm.json'], + ['name'=>'深圳', 'url'=>'https://sz.pmm.parlz.com/mirror/packages/pmm.json'], + ['name'=>'香港', 'url'=>'https://pmm.parlz.com/mirror/packages/pmm.json'], ]; function probe($url) { @@ -56,7 +56,6 @@ foreach ($servers as $s) { $st = probe($s['url']); $out[] = [ 'name' => $s['name'], - 'ip' => $s['ip'], 'online' => $st['online'], 'code' => $st['code'], 'ms' => $st['ms'],