I have simple code for updating my SPIFFS.
Problem is that on my spiffs I have my config fiel and I don't want to have it updated by bin.
I decided to save my config just after uptade .
Problem is that after reboot I there is no conf file .
Can you help me to solve it ?
My code:
ret = ESPhttpUpdate.updateSpiffs(url);
....
File configFile = SPIFFS.open(CONF_FILE , "w");
.....
ESP.restart();