chore: replace node test with 1.0.0.1

This commit is contained in:
wonfen 2026-02-19 11:55:09 +08:00
parent 7a564b4ea9
commit ec6f259794
No known key found for this signature in database
GPG Key ID: CEAFD6C73AB2001F
6 changed files with 6 additions and 6 deletions

View File

@ -29,7 +29,7 @@
- 安装服务失败时报告更详细的错误 - 安装服务失败时报告更详细的错误
- 避免脏订阅地址无法 Scheme 导入订阅 - 避免脏订阅地址无法 Scheme 导入订阅
- macOS TUN 覆盖 DNS 时使用 114.114.114.114 - macOS TUN 覆盖 DNS 时使用 114.114.114.114
- 连通性测试替换为更快的 http://104.16.132.229/generate_204 - 连通性测试替换为更快的 http://1.0.0.1
- 连接、规则、日志等页面的过滤搜索组件新增了清空输入框按钮 - 连接、规则、日志等页面的过滤搜索组件新增了清空输入框按钮
- 链式代理增加明显的入口出口与数据流向标识 - 链式代理增加明显的入口出口与数据流向标识
- 优化 IP 信息卡 - 优化 IP 信息卡

View File

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

View File

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

View File

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

View File

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

View File

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