File tree 3 files changed +4
-4
lines changed
libraries/ESP8266WebServer/examples/WebServer
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ The **serveStatic** plug in is part of the library and handles delivering files
120
120
> ```
121
121
122
122
123
- ### Cross-Origin Ressource Sharing (CORS)
123
+ ### Cross-Origin Resource Sharing (CORS)
124
124
125
125
The `enableCORS(true)` function adds a `Access-Control-Allow-Origin: *` http-header to all responses to the client
126
126
to inform that it is allowed to call URLs and services on this server from other web sites.
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ public:
104
104
105
105
// @brief check incoming request. Can handle POST for uploads and DELETE.
106
106
// @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.
108
108
// @return true when method can be handled.
109
109
bool canHandle (HTTPMethod requestMethod, const String UNUSED &_uri) override {
110
110
return ((requestMethod == HTTP_POST) || (requestMethod == HTTP_DELETE));
Original file line number Diff line number Diff line change @@ -54,10 +54,10 @@ R"==(
54
54
static const char notFoundContent [] PROGMEM = R "==(
55
55
< html >
56
56
< head >
57
- < title > Ressource not found < /title >
57
+ < title > Resource not found < /title >
58
58
< /head >
59
59
< body >
60
- < p > The ressource was not found .< /p >
60
+ < p > The resource was not found .< /p >
61
61
< p > < a href = "/" > Start again < /a > < /p >
62
62
< /body >
63
63
)== ";
You can’t perform that action at this time.
0 commit comments