mirror of
https://github.com/netbirdio/netbird.git
synced 2024-12-15 03:11:02 +01:00
13 lines
284 B
Go
13 lines
284 B
Go
//go:build devcert
|
|
|
|
package tls
|
|
|
|
import "crypto/tls"
|
|
|
|
func ClientQUICTLSConfig() *tls.Config {
|
|
return &tls.Config{
|
|
InsecureSkipVerify: true, // Debug mode allows insecure connections
|
|
NextProtos: []string{nbalpn}, // Ensure this matches the server's ALPN
|
|
}
|
|
}
|