mirror of
https://github.com/esp8266/Arduino.git
synced 2025-09-06 19:08:12 +03:00
Changes to static request handler
This commit is contained in:
@@ -83,8 +83,8 @@ void ESP8266WebServer::_addRequestHandler(RequestHandler* handler) {
|
||||
}
|
||||
}
|
||||
|
||||
void ESP8266WebServer::serveStatic(const char* uri, FS& fs, const char* path) {
|
||||
_addRequestHandler(new StaticRequestHandler(fs, path, uri));
|
||||
void ESP8266WebServer::serveStatic(const char* uri, FS& fs, const char* path, const char* cache_header) {
|
||||
_addRequestHandler(new StaticRequestHandler(fs, path, uri, cache_header));
|
||||
}
|
||||
|
||||
void ESP8266WebServer::handleClient() {
|
||||
|
Reference in New Issue
Block a user