Browse Source

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.

Marcos Kirsch 7 years ago
parent
commit
f060295ef7
1 changed files with 0 additions and 5 deletions
  1. 0 5
      httpserver.lua

+ 0 - 5
httpserver.lua

@@ -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