commented FRP docker

This commit is contained in:
2023-01-21 03:47:22 +00:00
parent dd2bf2e104
commit 67199a35ba

View File

@@ -116,12 +116,12 @@ func Server() error {
c.String(http.StatusInternalServerError, fmt.Sprintf("error: %s", err))
}
if ProxyIpAddr.Ipv4 != "" {
resp, err = frp.StartFRPCDockerContainer(ProxyIpAddr.Ipv4, ProxyIpAddr.ProxyPort, resp)
if err != nil {
c.String(http.StatusInternalServerError, fmt.Sprintf("error: %s", err))
}
}
//if ProxyIpAddr.Ipv4 != "" {
// resp, err = frp.StartFRPCDockerContainer(ProxyIpAddr.Ipv4, ProxyIpAddr.ProxyPort, resp)
// if err != nil {
// c.String(http.StatusInternalServerError, fmt.Sprintf("error: %s", err))
// }
//}
c.JSON(http.StatusOK, resp)
})