forked from me-no-dev/ESPAsyncWebServer
fix root folder error
This commit is contained in:
1 parent
6f80e9cbc4
commit
e70ba5da32
1 file changed
+1
-1
@@ -50,7 +50,7 @@ class AsyncCallbackWebHandler: public AsyncWebHandler {
|
||||
if(_method != HTTP_ANY && request->method() != _method)
|
||||
return false;
|
||||
|
||||
if(_uri.length() > 1 && (_uri != request->url() && !request->url().startsWith(_uri+"/")))
|
||||
if(_uri.length() && (_uri != request->url() && !request->url().startsWith(_uri+"/")))
|
||||
return false;
|
||||
|
||||
request->addInterestingHeader("ANY");
|
||||
|
||||
Reference in new issue
Block a user