|
@@ -80,7 +80,7 @@ return function (port)
|
|
|
end
|
|
|
)
|
|
|
-- false and nil evaluate as false
|
|
|
- local ip = wifi.sta.getip()
|
|
|
+ local ip = wifi.sta.getip()
|
|
|
if not ip then ip = wifi.ap.getip() end
|
|
|
print("nodemcu-httpserver running at http://" .. ip .. ":" .. port)
|
|
|
return s
|