update feature gates doc (#4755)

This commit is contained in:
fatedier 2025-04-17 01:34:14 +08:00 committed by GitHub
parent e208043323
commit a23455a737
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 6 deletions

View File

@ -1283,9 +1283,7 @@ frp supports feature gates to enable or disable experimental features. This allo
To enable an experimental feature, add the feature gate to your configuration:
```toml
featureGates = {
VirtualNet = true
}
featureGates = { VirtualNet = true }
```
### Feature Lifecycle

View File

@ -49,9 +49,7 @@ type = "virtual_net"
# frpc.toml (client side)
serverAddr = "x.x.x.x"
serverPort = 7000
featureGates = {
VirtualNet = true
}
featureGates = { VirtualNet = true }
# Configure the virtual network interface
virtualNet.address = "100.86.0.2/24"