This commit is contained in:
MichaelDvP
2022-03-07 18:53:25 +01:00
parent 6bbe2687ef
commit f076829b9b

View File

@@ -165,6 +165,7 @@ void WebStatusService::webStatusService(AsyncWebServerRequest * request) {
// start the multicast UDP service so EMS-ESP is discoverable via .local
void WebStatusService::mDNS_start() {
#ifndef EMSESP_STANDALONE
MDNS.end();
if (!MDNS.begin(EMSESP::system_.hostname().c_str())) {
EMSESP::logger().warning(F("Failed to start mDNS responder service"));
return;