Skip to content

Commit 29ce4d5

Browse files
committed
upd
1 parent c930963 commit 29ce4d5

File tree

3 files changed

+225
-222
lines changed

3 files changed

+225
-222
lines changed

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=Settings
2-
version=1.3.11
2+
version=1.3.12
33
author=AlexGyver <[email protected]>
44
maintainer=AlexGyver <[email protected]>
55
sentence=Simple UI webface builder for esp8266/esp32

src/core/DnsWrapper.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ class DnsWrapper {
2424
if (localF) MDNS.end();
2525
localF = true;
2626
MDNS.begin(domain);
27-
MDNS.addService("http", "tcp", 80);
2827
}
2928
#endif
3029
}
@@ -33,13 +32,17 @@ class DnsWrapper {
3332
#ifndef SETT_NO_DNS
3433
dns.stop();
3534
MDNS.end();
35+
localF = false;
36+
captF = false;
3637
#endif
3738
}
3839

3940
void tick() {
4041
#ifndef SETT_NO_DNS
4142
if (captF) dns.processNextRequest();
43+
#ifdef ESP8266
4244
if (localF) MDNS.update();
45+
#endif
4346
#endif
4447
}
4548

0 commit comments

Comments
 (0)