Skip to content

Commit

Permalink
Merge pull request #3 from CSullivan102/master
Browse files Browse the repository at this point in the history
Update isitup.org call to use https to avoid redirect
  • Loading branch information
mccreath committed Jan 5, 2016
2 parents 788b8d3 + fa606d0 commit 3850dda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion isitup.php
Original file line number Diff line number Diff line change
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 3850dda

Please sign in to comment.