We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba76dc8 commit e1b9364Copy full SHA for e1b9364
main.go
@@ -3,7 +3,6 @@ package main
3
4
import (
5
"context"
6
- "crypto/tls"
7
"flag"
8
"fmt"
9
"log/slog"
@@ -39,9 +38,7 @@ func run(args []string) error {
39
38
return err
40
}
41
42
- return server.Run(cfg.ListenAddr, func(info *tls.ClientHelloInfo) (*tls.Certificate, error) {
43
- return certManager.GetCertificate(info)
44
- })
+ return server.Run(cfg.ListenAddr, certManager.GetCertificate)
45
46
47
func main() {
0 commit comments