Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit aa66372

Browse files
add wechaty ca, see #16
1 parent f48bf76 commit aa66372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎wechaty-puppet-service/IO/Github/Wechaty/PuppetService/PuppetService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ function ($metadata,
797797
// WECHATY_PUPPET_SERVICE_TLS_CA_CERT
798798
// WECHATY_PUPPET_SERVICE_TLS_SERVER_NAME
799799
$noTls = getenv("WECHATY_PUPPET_SERVICE_NO_TLS_INSECURE_CLIENT");
800-
if($noTls) {
800+
if(empty($noTls) || $noTls === "true" || $noTls === true) {
801801
Logger::DEBUG("start client with no tls");
802802
$this->_grpcClient = new \Wechaty\PuppetClient($hostname, [
803803
'credentials' => \Grpc\ChannelCredentials::createInsecure(),

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /