Skip to content

Commit 338b625

Browse files
authored
Fix spelling errors in WebServer source (esp8266#9146)
1 parent 7e3d1bd commit 338b625

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

libraries/ESP8266WebServer/examples/WebServer/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ The **serveStatic** plug in is part of the library and handles delivering files
120120
> ```
121121
122122
123-
### Cross-Origin Ressource Sharing (CORS)
123+
### Cross-Origin Resource Sharing (CORS)
124124
125125
The `enableCORS(true)` function adds a `Access-Control-Allow-Origin: *` http-header to all responses to the client
126126
to inform that it is allowed to call URLs and services on this server from other web sites.

libraries/ESP8266WebServer/examples/WebServer/WebServer.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public:
104104

105105
// @brief check incoming request. Can handle POST for uploads and DELETE.
106106
// @param requestMethod method of the http request line.
107-
// @param requestUri request ressource from the http request line.
107+
// @param requestUri request resource from the http request line.
108108
// @return true when method can be handled.
109109
bool canHandle(HTTPMethod requestMethod, const String UNUSED &_uri) override {
110110
return ((requestMethod == HTTP_POST) || (requestMethod == HTTP_DELETE));

libraries/ESP8266WebServer/examples/WebServer/builtinfiles.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ R"==(
5454
static const char notFoundContent[] PROGMEM = R"==(
5555
<html>
5656
<head>
57-
<title>Ressource not found</title>
57+
<title>Resource not found</title>
5858
</head>
5959
<body>
60-
<p>The ressource was not found.</p>
60+
<p>The resource was not found.</p>
6161
<p><a href="/">Start again</a></p>
6262
</body>
6363
)==";

0 commit comments

Comments
 (0)