diff --git a/CNAME b/CNAME index 3e2d80f..cd62f02 100644 --- a/CNAME +++ b/CNAME @@ -1 +1 @@ -github.bendtherules.in \ No newline at end of file +patient.bendtherules.in \ No newline at end of file diff --git a/build/esp12e/firmware.bin b/build/esp12e/firmware.bin index 4ea7bf3..bd4c174 100644 Binary files a/build/esp12e/firmware.bin and b/build/esp12e/firmware.bin differ diff --git a/include/version.h b/include/version.h index c40e6a8..12dc521 100644 --- a/include/version.h +++ b/include/version.h @@ -1,9 +1,9 @@ #ifndef BUILD_NUMBER - #define BUILD_NUMBER 28 + #define BUILD_NUMBER 29 #endif #ifndef VERSION - #define VERSION "v0.1.28 - 2023-11-28 13:25:47.461259" + #define VERSION "v0.1.29 - 2023-11-28 13:45:20.821565" #endif #ifndef VERSION_SHORT - #define VERSION_SHORT "v0.1.28" + #define VERSION_SHORT "v0.1.29" #endif diff --git a/src/myOTA.cpp b/src/myOTA.cpp index 71db391..6c1f257 100644 --- a/src/myOTA.cpp +++ b/src/myOTA.cpp @@ -46,9 +46,9 @@ void handleOTALocal() { void handleOTARemote() { WiFiClient client; - const uint8_t fingerprint[20] = { - 0xe9, 0x4e, 0x54, 0xa9, 0x30, 0x86, 0x3d, 0x53, 0x5b, 0xa0, 0xd2, 0xd3, 0xa5, 0xdd, 0x0d, 0xe3, 0xbd, 0xa8, 0xc9, 0xc2, - }; + // const uint8_t fingerprint[20] = { + // 0xe9, 0x4e, 0x54, 0xa9, 0x30, 0x86, 0x3d, 0x53, 0x5b, 0xa0, 0xd2, 0xd3, 0xa5, 0xdd, 0x0d, 0xe3, 0xbd, 0xa8, 0xc9, 0xc2, + // }; // client.setFingerprint(fingerprint); // client.setInsecure(); const char* host = "www.github.com"; @@ -60,7 +60,7 @@ void handleOTARemote() { } else { Serial.println("connection worked"); } - t_httpUpdate_return ret = ESPhttpUpdate.update(client, "http://github.com/bendtherules/Patient-counter-esp8266/raw/main ", VERSION_SHORT); + t_httpUpdate_return ret = ESPhttpUpdate.update(client, "http://patient.bendtherules.in/build/esp12e/firmware.bin", VERSION_SHORT); switch(ret) { case HTTP_UPDATE_FAILED: Serial.print("[update] Update failed. Reason - "); diff --git a/versioning b/versioning index 368f89c..d99e90e 100644 --- a/versioning +++ b/versioning @@ -1 +1 @@ -28 \ No newline at end of file +29 \ No newline at end of file