disable tls verification for now

This commit is contained in:
Frans Allen committed 2021-06-20 20:47:09 +07:00
1 parent 80a1825918
commit b6607f1a62
1 file changed
+1
+1
View File
@@ -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',
]);