mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-28 08:44:41 +08:00
fix: remove HTTP status code display from endpoint speed test
The status code from a simple GET request reflects route matching, not actual endpoint availability. Users only need latency and reachability info, which the latency number already conveys.
This commit is contained in:
@@ -607,11 +607,6 @@ const EndpointSpeedTest: React.FC<EndpointSpeedTestProps> = ({
|
||||
>
|
||||
{latency}ms
|
||||
</div>
|
||||
<div className="text-[10px] text-gray-500 dark:text-gray-400">
|
||||
{entry.status
|
||||
? t("endpointTest.status", { code: entry.status })
|
||||
: t("endpointTest.notTested")}
|
||||
</div>
|
||||
</div>
|
||||
) : isTesting ? (
|
||||
<Loader2 className="h-4 w-4 animate-spin text-gray-400" />
|
||||
|
||||
Reference in New Issue
Block a user