Skip to content

Commit

Permalink
Update client.handlebars
Browse files Browse the repository at this point in the history
Co-authored-by: Anton Averchenkov <[email protected]>
  • Loading branch information
jakubbujny and averche authored Jan 18, 2024
1 parent bf42713 commit e56837a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions generate/templates/client.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,7 @@ func parseAddress(address string) (*url.URL, error) {
// used in the application layer and not to the transport layer. Hence,
// setting the fields accordingly.
parsed.Scheme = "http"
// fake host to construct valid URLs
parsed.Host = "unix.socket"
parsed.Host = "localhost"
parsed.Path = ""
}

Expand Down

0 comments on commit e56837a

Please sign in to comment.