Used skipTLSConfig value.
This commit is contained in:
@@ -132,7 +132,7 @@ func (b *Bslack) Connect() error {
|
|||||||
b.mh = matterhook.New(
|
b.mh = matterhook.New(
|
||||||
"",
|
"",
|
||||||
matterhook.Config{
|
matterhook.Config{
|
||||||
InsecureSkipVerify: b.GetBool("SkipTLSVerify"),
|
InsecureSkipVerify: b.GetBool(skipTLSConfig),
|
||||||
DisableServer: true,
|
DisableServer: true,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user