mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-04-04 22:19:00 +00:00
server test
This commit is contained in:
parent
44e4976012
commit
7f920d1d14
5 changed files with 0 additions and 1325 deletions
|
|
@ -268,17 +268,6 @@ void startServer() {
|
|||
request->send(200, "text/plain", "Hi " + Config.callsign + ", \n\nthis is your (Richonguzman/CD2RXU) LoRa iGate , version " + versionDate + ".\n\nTo update your firmware or filesystem go to: http://" + getLocalIP().substring(getLocalIP().indexOf(":")+3) + "/update\n\n\n73!");
|
||||
});
|
||||
|
||||
server.on("/test1", HTTP_GET, [](AsyncWebServerRequest *request) {
|
||||
request->send(SPIFFS, "/index.html", "text/html");
|
||||
});
|
||||
|
||||
server.on("/test2", HTTP_GET, [](AsyncWebServerRequest *request) {
|
||||
request->send(SPIFFS, "/index2.html", "text/html");
|
||||
});
|
||||
|
||||
server.on("/testx", HTTP_GET, [](AsyncWebServerRequest *request) {
|
||||
request->send(SPIFFS, "/testx.html", "text/html");//"application/json");
|
||||
});
|
||||
|
||||
if (Config.ota.username != "" && Config.ota.password != "") {
|
||||
AsyncElegantOTA.begin(&server, Config.ota.username.c_str(), Config.ota.password.c_str());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue