Skip to content

Commit

Permalink
🛢️ Makes mdns use class member
Browse files Browse the repository at this point in the history
  • Loading branch information
runeharlyk committed Nov 14, 2024
1 parent 57c126a commit f4bf556
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions esp32/src/spot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ void Spot::setupMDNS() {
ESP_LOGV(TAG, "Starting MDNS");
MDNS.begin(_wifiService.getHostname());
MDNS.setInstanceName(_appName);
MDNS.addService("http", "tcp", 80);
MDNS.addService("ws", "tcp", 80);
MDNS.addService("http", "tcp", _port);
MDNS.addService("ws", "tcp", _port);
MDNS.addServiceTxt("http", "tcp", "Firmware Version", APP_VERSION);
}

Expand Down

0 comments on commit f4bf556

Please sign in to comment.