NodeMCU-Express
NodeMCU-Express copied to clipboard
HTTP Web Server library for ESP8266 modules that run the NodeMCU firmware. (Acts like express.js from node.js, but with Lua instead of JavaScript.)
Were you aware of https://github.com/loicortola/nodemcu-espress when you started this project? Maybe better to join forces?
The WIFI part of the example does not match current nodemcu API. use `wifi.eventmon.register()` instead of `wifi.sta.eventMonReg` remove `wifi.sta.eventMonStart()` (which was outside the station mode block anyway)
`express.static` only reads up to a max of 1024 bytes, because the underlying `file.read` has that max (per default). Anything bigger is cut off. There is an [example on the...