Skip to content

Commit 22bba6d

Browse files
add SSL Verify
1 parent 86809dc commit 22bba6d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Supabase.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ protected function grab($url, $method, $data=null)
3333
$options = array(
3434
CURLOPT_URL => $url,
3535
CURLOPT_RETURNTRANSFER => true,
36+
CURLOPT_SSL_VERIFYPEER => true,
37+
CURLOPT_SSL_VERIFYHOST => 2,
3638
CURLOPT_HTTPHEADER => $headers,
3739
CURLOPT_CUSTOMREQUEST => $method,
3840
CURLOPT_TIMEOUT => 120,

0 commit comments

Comments
 (0)