Skip to content

Commit

Permalink
Fix spelling errors in WebServer source (#9146)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vic-Y authored Jun 15, 2024
1 parent 7e3d1bd commit 338b625
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion libraries/ESP8266WebServer/examples/WebServer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ The **serveStatic** plug in is part of the library and handles delivering files
> ```
### Cross-Origin Ressource Sharing (CORS)
### Cross-Origin Resource Sharing (CORS)
The `enableCORS(true)` function adds a `Access-Control-Allow-Origin: *` http-header to all responses to the client
to inform that it is allowed to call URLs and services on this server from other web sites.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public:

// @brief check incoming request. Can handle POST for uploads and DELETE.
// @param requestMethod method of the http request line.
// @param requestUri request ressource from the http request line.
// @param requestUri request resource from the http request line.
// @return true when method can be handled.
bool canHandle(HTTPMethod requestMethod, const String UNUSED &_uri) override {
return ((requestMethod == HTTP_POST) || (requestMethod == HTTP_DELETE));
Expand Down
4 changes: 2 additions & 2 deletions libraries/ESP8266WebServer/examples/WebServer/builtinfiles.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ R"==(
static const char notFoundContent[] PROGMEM = R"==(
<html>
<head>
<title>Ressource not found</title>
<title>Resource not found</title>
</head>
<body>
<p>The ressource was not found.</p>
<p>The resource was not found.</p>
<p><a href="/">Start again</a></p>
</body>
)==";

0 comments on commit 338b625

Please sign in to comment.