mirror of
https://github.com/mfactory-osaka/ESPTimeCast.git
synced 2026-04-03 03:00:24 -04:00
Update ESPTimeCast_ESP8266.ino
Nightscout bug fixed
This commit is contained in:
@@ -599,7 +599,7 @@ void setupWebServer() {
|
||||
|
||||
// Always sanitize before sending to browser
|
||||
doc[F("ssid")] = getSafeSsid();
|
||||
doc[F("password")] = getSafePassword();
|
||||
doc[F("password")] = getSafePassword();
|
||||
doc[F("mode")] = isAPMode ? "ap" : "sta";
|
||||
|
||||
String response;
|
||||
@@ -2349,7 +2349,7 @@ void loop() {
|
||||
client.setInsecure();
|
||||
HTTPClient https;
|
||||
https.begin(client, ntpField);
|
||||
|
||||
client.setBufferSizes(512, 512);
|
||||
https.setTimeout(5000); // This sets both the connection and response timeout.
|
||||
|
||||
Serial.print("[HTTPS] Nightscout fetch initiated...\n");
|
||||
|
||||
Reference in New Issue
Block a user