Fix type
This commit is contained in:
parent
3261a436cb
commit
10ed3f21fc
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user