Skip to content

Commit 96699b1

Browse files
committed
Don't verify SSL signatures in dev
[skip ci]
1 parent 59730dc commit 96699b1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/Repositories/Daemon/BaseRepository.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ public function getHttpClient(array $headers = []): Client
144144
$headers['X-Access-Token'] = $this->getToken() ?? $this->getNode()->daemonSecret;
145145

146146
return new Client([
147+
'verify' => config('app.env') === 'production',
147148
'base_uri' => sprintf('%s://%s:%s/v1/', $this->getNode()->scheme, $this->getNode()->fqdn, $this->getNode()->daemonListen),
148149
'timeout' => config('pterodactyl.guzzle.timeout'),
149150
'connect_timeout' => config('pterodactyl.guzzle.connect_timeout'),

0 commit comments

Comments
 (0)