fix(addFrpcProxy): modify frpc toml config key to correct
This commit is contained in:
+3
-3
@@ -139,9 +139,9 @@ func addFrpcProxy(configContent string, info FrpcProxyInfo) (string, error) {
|
||||
proxy := map[string]interface{}{
|
||||
"name": info.Name,
|
||||
"type": info.Type,
|
||||
"local_ip": info.LocalIP,
|
||||
"local_port": info.LocalPort,
|
||||
"remote_port": info.RemotePort,
|
||||
"localIP": info.LocalIP,
|
||||
"localPort": info.LocalPort,
|
||||
"remotePort": info.RemotePort,
|
||||
}
|
||||
|
||||
config.Proxies = append(config.Proxies, proxy)
|
||||
|
||||
Reference in New Issue
Block a user