mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-04-16 23:40:32 +08:00
chore: replace node test with 1.0.0.1
This commit is contained in:
parent
7a564b4ea9
commit
ec6f259794
@ -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 信息卡
|
||||||
|
|||||||
@ -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}
|
||||||
|
|||||||
@ -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);
|
||||||
|
|||||||
@ -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 }))
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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 {
|
||||||
// 不再在前端编码代理名称,由后端统一处理编码
|
// 不再在前端编码代理名称,由后端统一处理编码
|
||||||
|
|||||||
@ -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(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user