mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-02-06 15:54:22 +01:00
final ota test
This commit is contained in:
parent
ee2dc4f831
commit
52f7bd1844
|
|
@ -143,7 +143,7 @@ void typeOfPacket(String packet) {
|
|||
void startOTAServer() {
|
||||
if (stationMode==1 || stationMode==2) {
|
||||
server.on("/", HTTP_GET, [](AsyncWebServerRequest *request) {
|
||||
request->send(200, "text/plain", "Hi, this is your (Richonguzman/CD2RXU) LoRa iGate.\nIf you want tu update your firmware please go to: http://" + getLocalIP().substring(getLocalIP().indexOf(":")+2) + "/update");
|
||||
request->send(200, "text/plain", "Hi " + Config.callsign + ", this is your (Richonguzman/CD2RXU) LoRa iGate.\n\nTo update your firmware or filesystem go to: http://" + getLocalIP().substring(getLocalIP().indexOf(":")+2) + "/update\n\n\n73!");
|
||||
});
|
||||
AsyncElegantOTA.begin(&server);
|
||||
server.begin();
|
||||
|
|
|
|||
Loading…
Reference in a new issue