fix typos

This commit is contained in:
David Refoua
2024-09-05 10:36:27 +03:30
committed by GitHub
parent cec5afbc29
commit e3813b8747
2 changed files with 2 additions and 2 deletions

View File

@@ -647,7 +647,7 @@ class AsyncWebServer {
/**
* @brief (compat) Add url rewrite rule by pointer
* a deep copy of the pounter object will be created,
* a deep copy of the pointer object will be created,
* it is up to user to manage further lifetime of the object in argument
*
* @param rewrite pointer to rewrite object to copy setting from

View File

@@ -112,7 +112,7 @@ class AsyncCallbackWebHandler : public AsyncWebHandler {
}
} else
#endif
if (_uri.length() && _uri.startsWith("/*.")) {
if (_uri.length() && _uri.startsWith("/*.")) {
String uriTemplate = String(_uri);
uriTemplate = uriTemplate.substring(uriTemplate.lastIndexOf("."));
if (!request->url().endsWith(uriTemplate))