Closed moreant closed 4 months ago
请问要如何设置 STCP 类型的 visitors,我用高级模式设置后好像失败了。
{ "visitors": [ { "name": "z-cl", "type": "stcp", "transport": {}, "bindAddr": "0.0.0.0", "bindPort ": 80, "secretKey": "z", "secretName": "z" } ] }
frp-panel | time="2024-06-02T16:46:53Z" level=error msg="cannot load config" func=github.com/VaalaCat/frp-panel/biz/master/client.UpdateFrpcHander file="/app/biz/master/client/update_tunnel.go:29" error="unmarshal VisitorConfig error: json: unknown field \"bindPort \""
参照 #2 里的配置,发现有两处错误,改好就配置成功了。
请问要如何设置 STCP 类型的 visitors,我用高级模式设置后好像失败了。