init shows new way of starting server
This commit is contained in:
parent
5ebfa6ac8b
commit
f43025f237
5
init.lua
5
init.lua
@ -12,9 +12,8 @@ tmr.alarm(0, 3000, 1, function()
|
|||||||
else
|
else
|
||||||
tmr.stop(0)
|
tmr.stop(0)
|
||||||
print('IP: ',wifi.sta.getip())
|
print('IP: ',wifi.sta.getip())
|
||||||
-- Uncomment to automatically start the server.
|
-- Uncomment to automatically start the server in port 80
|
||||||
-- require("httpserver")
|
-- dofile("httpserver.lc")(80, 10)
|
||||||
-- server = httpserver.start(80, 10)
|
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user