Remove mDNS resets

This commit is contained in:
Robert Strouse 2024-01-09 12:56:01 -08:00
parent 574b2ece04
commit edc4f103d2
7 changed files with 24 additions and 4 deletions

View file

@ -2402,6 +2402,7 @@ void Web::begin() {
if (obj.containsKey("hostname") || obj.containsKey("ssdpBroadcast")) {
settings.fromJSON(obj);
settings.save();
net.updateHostname();
}
if (obj.containsKey("ntpServer") || obj.containsKey("ntpServer")) {
settings.NTP.fromJSON(obj);