docker port map fix

This commit is contained in:
2023-01-18 22:09:04 +00:00
parent 1fb248d12d
commit c5a7f85941
2 changed files with 10 additions and 5 deletions

View File

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