Skip to content

Commit c68d55f

Browse files
committed
2 parents 9d57e2c + 87d2e41 commit c68d55f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ server.onNotFound([](){
133133

134134
#### Does this library work with ESPAsyncWebServer?
135135

136-
Yes! From v2.3.0 you can use the library asyncronously by adding `#define ESPALEXA_ASYNC` before `#include <Espalexa.h>`
136+
Yes! From v2.3.0 you can use the library asynchronously by adding `#define ESPALEXA_ASYNC` before `#include <Espalexa.h>`
137137
See the `EspalexaWithAsyncWebServer` example.
138138
`ESPAsyncWebServer` and its dependencies must be manually installed.
139139

src/Espalexa.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ class Espalexa {
443443
if (req.indexOf("api") <0) return false; //return if not an API call
444444
EA_DEBUGLN("ok");
445445

446-
if (body.indexOf("devicetype") > 0) //client wants a hue api username, we dont care and give static
446+
if (body.indexOf("devicetype") > 0) //client wants a hue api username, we don't care and give static
447447
{
448448
EA_DEBUGLN("devType");
449449
body = "";
@@ -550,7 +550,7 @@ class Espalexa {
550550
return true;
551551
}
552552

553-
//we dont care about other api commands at this time and send empty JSON
553+
//we don't care about other api commands at this time and send empty JSON
554554
server->send(200, "application/json", "{}");
555555
return true;
556556
}

0 commit comments

Comments
 (0)