Skip to content

Commit

Permalink
Use https
Browse files Browse the repository at this point in the history
  • Loading branch information
moeriki committed Apr 16, 2018
1 parent 95a14f6 commit d4e9c23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/caniuse.php
Expand Up @@ -9,7 +9,7 @@ function getSSLPage($url) {
curl_setopt($ch, CURLOPT_VERBOSE, true);
curl_setopt($ch, CURLOPT_HEADER, false);
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER,true);
$result = curl_exec($ch);
curl_close($ch);
Expand Down Expand Up @@ -44,7 +44,7 @@ function browserVersion($stats) {
$arr = array();
foreach ($data->data as $key => $val) {
$title = $val->title;
$url = "http://caniuse.com/#feat=" . $key;
$url = "https://caniuse.com/#feat=" . $key;
$description = $val->description;
$keywords = $val->keywords;
$name = $key;
Expand Down

0 comments on commit d4e9c23

Please sign in to comment.