Skip to content
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.

Commit

Permalink
Merge pull request #71 from rassware/patch-1
Browse files Browse the repository at this point in the history
Get ips from DuinoCoin pool
  • Loading branch information
ricaun authored Jan 7, 2022
2 parents d0ba9d3 + 27dc77d commit d55eef0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions DuinoCoin_Esp_Async_Master/DuinoCoin_Pool.ino
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

#include <ArduinoJson.h>

const char * urlPool = "http://51.15.127.80:4242/getPool";
const char * urlPool = "https://server.duinocoin.com/getPool";

void UpdateHostPort(String input)
{
Expand All @@ -40,7 +40,8 @@ void UpdatePool()
String httpGetString(String URL)
{
String payload = "";
WiFiClient client;
WiFiClientSecure client;
client.setInsecure();
HTTPClient http;
if (http.begin(client, URL))
{
Expand Down

0 comments on commit d55eef0

Please sign in to comment.