resolve linter issues

This commit is contained in:
David Christofas
2021-02-25 10:48:40 +01:00
parent 52f13fe778
commit 0fd7580301
4 changed files with 8 additions and 3 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ func Server(opts ...Option) (svc.Service, error) {
os.Exit(1)
}
tlsConfig = &tls.Config{Certificates: []tls.Certificate{cer}}
tlsConfig = &tls.Config{MinVersion: tls.VersionTLS12, Certificates: []tls.Certificate{cer}}
}
chain := options.Middlewares.Then(options.Handler)