Skip to content

Commit

Permalink
fix(transport): fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
andyrzhao committed Oct 23, 2020
1 parent b7f3e0a commit a8dbccc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions transport/internal/dca/dca.go
Expand Up @@ -139,7 +139,7 @@ func mergeEndpoints(baseURL, newHost string) (string, error) {

func fixScheme(baseURL string) string {
if !strings.Contains(baseURL, "://") {
return "https://" + host
return "https://" + baseURL
}
return host
return baseURL
}

0 comments on commit a8dbccc

Please sign in to comment.