From 9e63152573be6925d0971cab180eb53a9d5b4155 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 26 Feb 2020 12:24:36 +0800 Subject: [PATCH] Add insecure test mode(#609) Signed-off-by: Nan ZiYuan --- clientapi/threepid/invites.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clientapi/threepid/invites.go b/clientapi/threepid/invites.go index c371005f5..4d5d992f2 100644 --- a/clientapi/threepid/invites.go +++ b/clientapi/threepid/invites.go @@ -232,7 +232,7 @@ func queryIDServerStoreInvite( customTransport.TLSClientConfig = &tls.Config{InsecureSkipVerify: true} client = http.Client{ Transport: customTransport, - Timeout: time.Second * 30, + Timeout: time.Second * 30, } }