Migrate to LittleFS under ESP8266
Make ESP8266 use LittleFS instead of deprecated SPIFFS Make framework use the correct filesystem automatically and handle the call the FS.begin() Change default MQTT keepalive to 60 seconds Fix lodash security issue
This commit is contained in:
@ -28,6 +28,7 @@
|
||||
#include <WiFiScanner.h>
|
||||
#include <WiFiSettingsService.h>
|
||||
#include <WiFiStatus.h>
|
||||
#include <ESPFS.h>
|
||||
|
||||
#ifdef PROGMEM_WWW
|
||||
#include <WWWData.h>
|
||||
@ -35,11 +36,15 @@
|
||||
|
||||
class ESP8266React {
|
||||
public:
|
||||
ESP8266React(AsyncWebServer* server, FS* fs);
|
||||
ESP8266React(AsyncWebServer* server);
|
||||
|
||||
void begin();
|
||||
void loop();
|
||||
|
||||
FS* getFS() {
|
||||
return &ESPFS;
|
||||
}
|
||||
|
||||
SecurityManager* getSecurityManager() {
|
||||
return &_securitySettingsService;
|
||||
}
|
||||
|
Reference in New Issue
Block a user