diff --git a/src/WebHandlerImpl.h b/src/WebHandlerImpl.h index 9b7ba1b..9aa13bf 100644 --- a/src/WebHandlerImpl.h +++ b/src/WebHandlerImpl.h @@ -37,7 +37,7 @@ class AsyncStaticWebHandler: public AsyncWebHandler { bool _fileExists(AsyncWebServerRequest *request, const String& path); uint8_t _countBits(const uint8_t value) const; protected: - FS _fs; + FS &_fs; String _uri; String _path; String _default_file;