mirror of
https://github.com/tiennm99/thedev.id.git
synced 2026-10-14 18:19:19 +00:00
disable tls verification for now
This commit is contained in:
1 parent
80a1825918
commit
b6607f1a62
1 file changed
+1
@@ -42,6 +42,7 @@ function get_status($url) {
|
||||
CURLOPT_RETURNTRANSFER => 1,
|
||||
CURLOPT_HEADER => 1,
|
||||
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
|
||||
CURLOPT_SSL_VERIFYHOST => 0,
|
||||
CURLOPT_USERAGENT => 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212 Safari/537.36 thedev.id-status-check',
|
||||
]);
|
||||
|
||||
|
||||
Reference in new issue
Block a user