mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-04-05 06:26:46 +00:00
little updates on the OTA welcome
This commit is contained in:
parent
d740d214b0
commit
f99627e373
2 changed files with 2 additions and 2 deletions
|
|
@ -142,7 +142,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: {iGate-IP-Adress}/update");
|
||||
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(":")+1) + "/update");
|
||||
});
|
||||
AsyncElegantOTA.begin(&server);
|
||||
server.begin();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue