Fix MDNS name not getting saved after a single command

This commit is contained in:
Lorow
2025-09-16 20:49:23 +02:00
parent 196b3da566
commit 82c24e57a7

View File

@@ -115,6 +115,7 @@ void ProjectConfig::setMDNSConfig(const std::string &hostname)
{
ESP_LOGD(CONFIGURATION_TAG, "Updating MDNS config");
this->config.mdns.hostname.assign(hostname);
this->config.device.save();
}
void ProjectConfig::setCameraConfig(const uint8_t vflip,