mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-04-13 05:20:28 +08:00
chore: replace node test with 8888
This commit is contained in:
parent
44851466cf
commit
cf9f235270
@ -28,7 +28,7 @@
|
||||
- 安装服务失败时报告更详细的错误
|
||||
- 避免脏订阅地址无法 Scheme 导入订阅
|
||||
- macOS TUN 覆盖 DNS 时使用 114.114.114.114
|
||||
- 连通性测试替换为更快的 https://1.1.1.1
|
||||
- 连通性测试替换为更快的 https://8.8.8.8/generate_204
|
||||
- 连接、规则、日志等页面的过滤搜索组件新增了清空输入框按钮
|
||||
- 链式代理增加明显的入口出口与数据流向标识
|
||||
- 优化 IP 信息卡
|
||||
|
||||
@ -615,7 +615,7 @@ export const GroupsEditorViewer = (props: Props) => {
|
||||
/>
|
||||
<TextField
|
||||
autoComplete="new-password"
|
||||
placeholder="https://1.1.1.1"
|
||||
placeholder="https://8.8.8.8/generate_204"
|
||||
size="small"
|
||||
sx={{ width: "calc(100% - 150px)" }}
|
||||
{...field}
|
||||
|
||||
@ -66,7 +66,7 @@ export const ProxyHead = ({
|
||||
|
||||
const { verge } = useVerge();
|
||||
const defaultLatencyUrl =
|
||||
verge?.default_latency_test?.trim() || "https://1.1.1.1";
|
||||
verge?.default_latency_test?.trim() || "https://8.8.8.8/generate_204";
|
||||
|
||||
useEffect(() => {
|
||||
delayManager.setUrl(groupName, testUrl?.trim() || url || defaultLatencyUrl);
|
||||
|
||||
@ -383,7 +383,7 @@ export const MiscViewer = forwardRef<DialogRef>((props, ref) => {
|
||||
spellCheck="false"
|
||||
sx={{ width: 250, marginLeft: "auto" }}
|
||||
value={values.defaultLatencyTest}
|
||||
placeholder="https://1.1.1.1"
|
||||
placeholder="https://8.8.8.8/generate_204"
|
||||
onChange={(e) =>
|
||||
setValues((v) => ({ ...v, defaultLatencyTest: e.target.value }))
|
||||
}
|
||||
|
||||
@ -340,7 +340,7 @@ export async function cmdGetProxyDelay(
|
||||
url?: string,
|
||||
) {
|
||||
// 确保URL不为空
|
||||
const testUrl = url || "https://1.1.1.1";
|
||||
const testUrl = url || "https://8.8.8.8/generate_204";
|
||||
|
||||
try {
|
||||
// 不再在前端编码代理名称,由后端统一处理编码
|
||||
|
||||
@ -120,7 +120,7 @@ class DelayManager {
|
||||
`[DelayManager] 获取测试URL,组: ${group}, URL: ${url || "未设置"}`,
|
||||
);
|
||||
// 如果未设置URL,返回默认URL
|
||||
return url || "https://1.1.1.1";
|
||||
return url || "https://8.8.8.8/generate_204";
|
||||
}
|
||||
|
||||
setListener(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user