Remove print about server running from server code itself. Client can choose to do the prints from init.lua if client wants to, This seems more appropritate.

This commit is contained in:
Marcos Kirsch 2016-12-26 13:44:41 -06:00
parent 8b46df0f75
commit f060295ef7

View File

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