diff --git a/utils.go b/utils.go index a107379..feb7121 100644 --- a/utils.go +++ b/utils.go @@ -31,7 +31,7 @@ func ParseUrl(raw string) (string, error) { prehost := u.Host - u.Host = os.Getenv("HYP_PROXY") + u.Host = "https://" + os.Getenv("HYP_PROXY") q := u.Query() q.Set("host", prehost) u.RawQuery = q.Encode()