disable wifimanager portal if connected via LAN

This commit is contained in:
technyon
2022-04-29 22:04:51 +02:00
parent 6fe1d70521
commit 3dc88cddea
3 changed files with 20 additions and 12 deletions

View File

@@ -122,7 +122,7 @@ void setup()
initEthServer(networkDevice);
nuki = new NukiWrapper("NukiHub", deviceId, network, preferences);
webCfgServer = new WebCfgServer(nuki, network, ethServer, preferences);
webCfgServer = new WebCfgServer(nuki, network, ethServer, preferences, networkDevice == NetworkDeviceType::WiFi);
webCfgServer->initialize();
nuki->initialize();