Skip to content

Commit

Permalink
Update isitup.org call to use https to avoid redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
CSullivan102 committed Dec 30, 2015
1 parent 788b8d3 commit fa606d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion isitup.php
Expand Up @@ -42,7 +42,7 @@

# We're just taking the text exactly as it's typed by the user. If it's not a valid domain, isitup.org will respond with a `3`.
# We want to get the JSON version back (you can also get plain text).
$url_to_check = "http://isitup.org/".$text.".json";
$url_to_check = "https://isitup.org/".$text.".json";

# Set up cURL
$ch = curl_init($url_to_check);
Expand Down

0 comments on commit fa606d0

Please sign in to comment.