fix nodeingo_lua for AP more.
wifi.sta.getip() is nul in AP mode
This commit is contained in:
parent
90cb4e47aa
commit
54b6525805
@ -1,5 +1,5 @@
|
|||||||
local function sendAttr(connection, attr, val)
|
local function sendAttr(connection, attr, val)
|
||||||
connection:send("<li><b>".. attr .. ":</b> " .. val .. "<br></li>\n")
|
connection:send("<li><b>".. attr .. ":</b> " .. (val or "nil") .. "<br></li>\n")
|
||||||
end
|
end
|
||||||
|
|
||||||
return function (connection, req, args)
|
return function (connection, req, args)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user