This commit is contained in:
qowevisa 2024-02-23 15:53:54 +02:00
parent 3261a436cb
commit 10ed3f21fc

View File

@ -21,7 +21,7 @@ func main() {
config := tls.Config{Certificates: []tls.Certificate{cert}} config := tls.Config{Certificates: []tls.Certificate{cert}}
// config.Rand = rand.Reader // config.Rand = rand.Reader
url := fmt.Sprintf("chat.qowevisa.md:%d", env.ConnectPort) url := fmt.Sprintf("chat.qowevisa.me:%d", env.ConnectPort)
// Dial a TLS connection // Dial a TLS connection
conn, err := tls.Dial("tcp", url, &config) conn, err := tls.Dial("tcp", url, &config)
if err != nil { if err != nil {