Add files via upload

master
Alan 2020-09-27 15:14:03 +01:00 zatwierdzone przez GitHub
rodzic a29e27a79a
commit f02c8c560c
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -397,7 +397,7 @@ void handleRoot() {
if (debugInfo) Serial.println("Root page requested from: " + String(cip[0]) +"." + String(cip[1]) + "." + String(cip[2]) + "." + String(cip[3]));
// html header
client.write("<!DOCTYPE html> <html> <body>\n"); // basic html header
client.write("<!DOCTYPE html> <html lang="en"> <head> <title>root</title> </head> <body>\n"); // basic html header
client.write("<FORM action='/' method='post'>\n"); // used by the buttons in the html (action = the web page to send it to)
// if button1 was pressed
@ -456,7 +456,7 @@ void handleRoot() {
// end html
client.write("</body></htlm>\n");
client.write("</form></body></html>\n");
delay(3);
client.stop();