diff --git a/tsnet/example/tshello/tshello.go b/tsnet/example/tshello/tshello.go index 16131ef8a..ae60d9dbf 100644 --- a/tsnet/example/tshello/tshello.go +++ b/tsnet/example/tshello/tshello.go @@ -14,7 +14,6 @@ import ( "net/http" "strings" - "tailscale.com/client/tailscale" "tailscale.com/tsnet" ) @@ -39,7 +38,7 @@ func main() { if *addr == ":443" { ln = tls.NewListener(ln, &tls.Config{ - GetCertificate: tailscale.GetCertificate, + GetCertificate: lc.GetCertificate, }) } log.Fatal(http.Serve(ln, http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {