Browse Source

Update httpsify.go

Mohammed Al Ashaal 8 years ago
parent
commit
5e0d4889fd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      httpsify.go

+ 1 - 1
httpsify.go

@@ -80,7 +80,7 @@ func main() {
 		req.Header.Set("X-Forwarded-Port", *port)
 		req.URL.Path = r.URL.Path
 		req.URL.RawQuery = r.URL.RawQuery
-		req.Fragment = r.Fragment
+		req.URL.Fragment = r.URL.Fragment
 		res, err := http.DefaultClient.Do(req)
 		if err != nil {
 			http.Error(w, http.StatusText(504), 504)