chore: replace node test with cp.cloudflare.com

This commit is contained in:
wonfen 2026-02-21 14:28:27 +08:00
parent 7f045943e2
commit 321017413d
No known key found for this signature in database
GPG Key ID: CEAFD6C73AB2001F
5 changed files with 5 additions and 5 deletions

View File

@ -615,7 +615,7 @@ export const GroupsEditorViewer = (props: Props) => {
/>
<TextField
autoComplete="new-password"
placeholder="http://1.0.0.1"
placeholder="http://cp.cloudflare.com"
size="small"
sx={{ width: "calc(100% - 150px)" }}
{...field}

View File

@ -66,7 +66,7 @@ export const ProxyHead = ({
const { verge } = useVerge();
const defaultLatencyUrl =
verge?.default_latency_test?.trim() || "http://1.0.0.1";
verge?.default_latency_test?.trim() || "http://cp.cloudflare.com";
useEffect(() => {
delayManager.setUrl(groupName, testUrl?.trim() || url || defaultLatencyUrl);

View File

@ -383,7 +383,7 @@ export const MiscViewer = forwardRef<DialogRef>((props, ref) => {
spellCheck="false"
sx={{ width: 250, marginLeft: "auto" }}
value={values.defaultLatencyTest}
placeholder="http://1.0.0.1"
placeholder="http://cp.cloudflare.com"
onChange={(e) =>
setValues((v) => ({ ...v, defaultLatencyTest: e.target.value }))
}

View File

@ -340,7 +340,7 @@ export async function cmdGetProxyDelay(
url?: string,
) {
// 确保URL不为空
const testUrl = url || "http://1.0.0.1";
const testUrl = url || "http://cp.cloudflare.com";
try {
// 不再在前端编码代理名称,由后端统一处理编码

View File

@ -120,7 +120,7 @@ class DelayManager {
`[DelayManager] 获取测试URL组: ${group}, URL: ${url || "未设置"}`,
);
// 如果未设置URL返回默认URL
return url || "http://1.0.0.1";
return url || "http://cp.cloudflare.com";
}
setListener(