Skip to content

Commit

Permalink
fix the build problem
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Leung <[email protected]>
  • Loading branch information
rleungx committed Sep 30, 2019
1 parent 851949c commit c12e67f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/api/redirector.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (h *redirector) ServeHTTP(w http.ResponseWriter, r *http.Request, next http
}
initHTTPClientOnce.Do(func() {
var tlsConfig *tls.Config
tlsConfig, err = h.s.GetSecurityConfig().ToTLSConfig()
tlsConfig, err = server.ToTLSConfig(h.s.GetSecurityConfig())
dialClient = &http.Client{
Transport: &http.Transport{
DisableKeepAlives: true,
Expand Down

0 comments on commit c12e67f

Please sign in to comment.