Skip to content

Commit

Permalink
fix GeoIP CIDR and Stream TLS Certificate display type (v2fly#385)
Browse files Browse the repository at this point in the history
* fix GeoIP CIDR display type

CIDR should be an array rather than an object

* fix certificate type

certificate field should be an array rather than an object
  • Loading branch information
young-zy authored Apr 10, 2023
1 parent cba86b4 commit 52451cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/v5/config/geo.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## GeoIP

> `cidr` : [CIDRObject](#CIDRObject)
> `cidr` : \[[CIDRObject](#CIDRObject)\]
一个数组,数组中每一项是一个 [CIDR](https://zh.wikipedia.org/zh-hans/%E6%97%A0%E7%B1%BB%E5%88%AB%E5%9F%9F%E9%97%B4%E8%B7%AF%E7%94%B1) 地址块

Expand Down
2 changes: 1 addition & 1 deletion docs/v5/config/stream.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ security.tls

在连接因为此策略失败时,会展示此证书链散列。不建议使用这种方式获得证书链散列值,因为在这种情况下您没有机会验证此时服务器提供的证书是否为真实证书。

> `certificate`: [CertificateObject](#CertificateObject)
> `certificate`: \[[CertificateObject](#CertificateObject)\]

### CertificateObject
Expand Down

0 comments on commit 52451cf

Please sign in to comment.