From f060295ef7789093c07738fbe472a0472fbd5ddc Mon Sep 17 00:00:00 2001 From: Marcos Kirsch Date: Mon, 26 Dec 2016 13:44:41 -0600 Subject: [PATCH] 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. --- httpserver.lua | 5 ----- 1 file changed, 5 deletions(-) diff --git a/httpserver.lua b/httpserver.lua index 29ac0a2..5b29773 100644 --- a/httpserver.lua +++ b/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