debug: test dashboard HTML route on LilyGO
This commit is contained in:
@@ -4120,7 +4120,8 @@ void setup() {
|
|||||||
|
|
||||||
|
|
||||||
server.on("/", HTTP_GET, []() {
|
server.on("/", HTTP_GET, []() {
|
||||||
server.send(200, "text/plain", "Overland Controller");
|
Serial.println("HTTP GET / dashboard");
|
||||||
|
server.send_P(200, "text/html", INDEX_HTML);
|
||||||
});
|
});
|
||||||
|
|
||||||
server.on(API_V1("/health"), HTTP_GET, handleHealth);
|
server.on(API_V1("/health"), HTTP_GET, handleHealth);
|
||||||
|
|||||||
Reference in New Issue
Block a user