aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 4a29e62..6c69f9e 100644
--- a/main.go
+++ b/main.go
@@ -14,7 +14,7 @@ var (
route = make(Route)
server = http.Server{
Handler: http.NewServeMux(),
- TLSConfig: &tls.Config{GetCertificate: route.SNI},
+ TLSConfig: &tls.Config{GetCertificate: route.GetCertificate},
}
)