fix https to http

This commit is contained in:
2023-01-17 18:48:41 +00:00
parent c6ff05a9cb
commit add0ae7fb6
2 changed files with 7 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
package frp
import (
"fmt"
"github.com/fatedier/frp/pkg/config"
"github.com/fatedier/frp/server"
"github.com/phayes/freeport"
@@ -87,5 +88,7 @@ func GetFRPServerPort(host string) (string, error) {
return "", err
}
fmt.Println(string(body))
return string(body), nil
}