Skip to content

Commit

Permalink
go sec
Browse files Browse the repository at this point in the history
  • Loading branch information
UncleGedd committed Oct 24, 2024
1 parent 96f5e3b commit 81ab27f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pkg/api/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,8 @@ func Serve(r *chi.Mux, localCert []byte, localKey []byte, inCluster bool) error
if err != nil {
log.Fatalf("Failed to load embedded certificate: %v", err)
}
//nolint:gosec,govet
tlsConfig := &tls.Config{
MinVersion: tls.VersionTLS12,
Certificates: []tls.Certificate{cert},
}
server := &http.Server{
Expand Down

0 comments on commit 81ab27f

Please sign in to comment.