diff options
-rw-r--r-- | client.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -117,7 +117,7 @@ func getRedirectLocation(proto string, meta any) string { case "gemini", "spartan": return meta.(string) case "http", "https": - return meta.(*http.Request).Header.Get("Location") + return meta.(*http.Response).Header.Get("Location") } return "" } |