diff --git a/src/main.cpp b/src/main.cpp index 5f074c1..c8c57da 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -167,10 +167,9 @@ void webSocketEvent(uint8_t num, WStype_t type, uint8_t * payload, size_t length } - void setup(void) { - IPAddress apIP(192, 168, 1, 1); + IPAddress apIP(2, 2, 2, 2); Serial.begin(115200); Serial.setDebugOutput(true); Serial.println(); @@ -184,7 +183,7 @@ void setup(void) server.on("/accelerometer", handleAccelerometer); server.on("/", []() { - server.send(200, "text/html", "Main Page"); + server.send(200, "text/html", "Main Page"); }); server.onNotFound(handleNotFound);