update feature gates doc (#4755)

This commit is contained in:
fatedier authored and GitHub committed 2025-04-17 01:34:14 +08:00
1 parent e208043323
commit a23455a737
2 files changed
+2 -6

No files matched your search

+1 -3
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
+1 -3
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"