Skip to content

Commit 3a33446

Browse files
committed
doc: demo.js
1 parent 17b1271 commit 3a33446

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/demo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function operator(proxies = [], targetPlatform, context) {
2626
// 12. 以 Surge 为例, 最新的参数一般我都会跟进, 以 Surge 文档为例, 一些常用的: TUIC/Hysteria 2 的 `ecn`, Snell 的 `reuse` 连接复用, QUIC 策略 block-quic`, Hysteria 2 下载带宽 `down`
2727
// 13. `test-url` 为测延迟链接, `test-timeout` 为测延迟超时
2828
// 14. `ports` 为端口跳跃, `hop-interval` 变换端口号的时间间隔
29-
// 15. `ip-version` 设置节点使用 IP 版本,可选:dual,ipv4,ipv6,ipv4-prefer,ipv6-prefer. 会进行内部转换, 若无法匹配则使用原始值
29+
// 15. `ip-version` 设置节点使用 IP 版本,兼容各家的值. 会进行内部转换. sing-box 以外: 若无法匹配则使用原始值. sing-box: 需有匹配且节点上设置 `_dns_server` 字段, 将自动设置 `domain_resolver.server`
3030
// 16. `sing-box` 支持使用 `_network` 来设置 `network`, 例如 `tcp`, `udp`
3131
// 17. `block-quic` 支持 `auto`, `on`, `off`. 不同的平台不一定都支持, 会自动转换
3232

0 commit comments

Comments
 (0)