fix nodeingo_lua for AP more.

wifi.sta.getip() is nul in AP mode
This commit is contained in:
Gregor 2017-05-29 18:51:48 +02:00
parent 90cb4e47aa
commit 54b6525805

View File

@ -1,5 +1,5 @@
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
return function (connection, req, args)