Improve a few type definitions, update english log docs

This commit is contained in:
mmmray
2024-09-22 16:16:00 -05:00
parent 1764ec590e
commit 603389ff05
6 changed files with 16 additions and 6 deletions
+1 -1
View File
@@ -57,7 +57,7 @@
当只有一个端口时,Xray 会在此端口监听入站连接。当指定了一个端口范围时,取决于 `allocate` 设置。
> `protocol`: string
> `protocol`: "dokodemo-door" | "http" | "shadowsocks" | "socks" | "vless" | "vmess" | "trojan" | "wireguard"
连接协议名称,可选的协议列表见左侧 入站代理。
+1 -1
View File
@@ -47,7 +47,7 @@ error 日志的级别, 指示 error 日志需要记录的信息.
是否启用 DNS 查询日志,例如:`DOH//doh.server got answer: domain.com -> [ip1, ip2] 2.333ms`
> `maskAddress`: string
> `maskAddress`: "quarter" | "half" | "full"
IP地址遮罩,启用后将自动替换log中出现的IP地址,用于在分享日志时保护隐私,默认为空即不启用。