1
0
mirror of https://github.com/coalaura/up.git synced 2025-07-17 21:44:35 +00:00

force tls 1.3

This commit is contained in:
Laura
2025-06-21 01:06:16 +02:00
parent 1c40473a89
commit 28443050cf

View File

@ -81,7 +81,7 @@ func Run(_ context.Context, cmd *cli.Command) error {
Addr: fmt.Sprintf(":%d", port),
Handler: r,
TLSConfig: &tls.Config{
MinVersion: tls.VersionTLS12,
MinVersion: tls.VersionTLS13,
},
}