Skip to content

Commit

Permalink
Fix mistake in config file (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
Godzil authored and marcoskirsch committed Sep 5, 2017
1 parent 28fbb6e commit b5baf6c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion httpserver-conf.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ if (conf.wifi.mode == wifi.SOFTAP) or (conf.wifi.mode == wifi.STATIONAP) then
conf.wifi.accessPoint.config = {}
conf.wifi.accessPoint.config.ssid = "ESP-"..node.chipid() -- Name of the WiFi network to create.
conf.wifi.accessPoint.config.pwd = "ESP-"..node.chipid() -- WiFi password for joining - at least 8 characters
conf.wifi.accessPoint.net = {}
conf.wifi.accessPoint.net.ip = "192.168.111.1"
conf.wifi.accessPoint.net.netmask="255.255.255.0"
conf.wifi.accessPoint.net.gateway="192.168.111.1" }
conf.wifi.accessPoint.net.gateway="192.168.111.1"
end
-- These apply only when connecting to a router as a client
if (conf.wifi.mode == wifi.STATION) or (conf.wifi.mode == wifi.STATIONAP) then
Expand Down

0 comments on commit b5baf6c

Please sign in to comment.