Skip to content

Commit b5baf6c

Browse files
Godzilmarcoskirsch
authored andcommitted
Fix mistake in config file (#107)
1 parent 28fbb6e commit b5baf6c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

httpserver-conf.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ if (conf.wifi.mode == wifi.SOFTAP) or (conf.wifi.mode == wifi.STATIONAP) then
2020
conf.wifi.accessPoint.config = {}
2121
conf.wifi.accessPoint.config.ssid = "ESP-"..node.chipid() -- Name of the WiFi network to create.
2222
conf.wifi.accessPoint.config.pwd = "ESP-"..node.chipid() -- WiFi password for joining - at least 8 characters
23+
conf.wifi.accessPoint.net = {}
2324
conf.wifi.accessPoint.net.ip = "192.168.111.1"
2425
conf.wifi.accessPoint.net.netmask="255.255.255.0"
25-
conf.wifi.accessPoint.net.gateway="192.168.111.1" }
26+
conf.wifi.accessPoint.net.gateway="192.168.111.1"
2627
end
2728
-- These apply only when connecting to a router as a client
2829
if (conf.wifi.mode == wifi.STATION) or (conf.wifi.mode == wifi.STATIONAP) then

0 commit comments

Comments
 (0)