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:
parent
8b46df0f75
commit
f060295ef7
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user