🩺 Fixed MDNS
This commit is contained in:
+3
-2
@@ -83,8 +83,9 @@ void setupWiFi(){
|
||||
display.display();
|
||||
}
|
||||
}
|
||||
MDNS.addService("http", "tcp", HTTP_PORT);
|
||||
MDNS.begin(HOSTNAME);
|
||||
if(MDNS.begin(HOSTNAME)){
|
||||
MDNS.addService("http", "tcp", HTTP_PORT);
|
||||
}
|
||||
}
|
||||
|
||||
void setupServer(){
|
||||
|
||||
Reference in New Issue
Block a user