Skip to content

Commit

Permalink
fixed thingspeak check which gave always error
Browse files Browse the repository at this point in the history
  • Loading branch information
JavanXD committed Mar 10, 2020
1 parent ce78d12 commit c3e359f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/check_thingspeak.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

function is_channel_correct($writeKey)
{
$filename = 'https://api.thingspeak.com/update?api_key='.$writeKey.'&field1=0';
$filename = 'http://api.thingspeak.com/update?api_key='.$writeKey.'&field1=0';
$check = "0";
try {
$content = @file_get_contents($filename);
Expand Down

0 comments on commit c3e359f

Please sign in to comment.