Marcos Kirsch
9082e223a1
connect_ap.lua example
...
This was supposed to be PRd by moononournation, but since he never did,
I went ahead and added it to a branch.
2017-07-02 21:49:10 -05:00
Marcos Kirsch
251522299a
Save as UTF-8 with DOM so browser can render correctly.
2017-07-01 22:28:31 -05:00
Marcos Kirsch
2bd72a8337
fix typos
2017-07-01 22:26:20 -05:00
Marcos Kirsch
2dea3c9daa
Restart if can't connect or connection is lost
...
Use wifi.eventmon to start server once we have IP, rather than checking
in a loop.
Use wifi.eventmon to restart server if connection is lost.
Use a timer to check if we ever even got a connection after 30 seconds.
Cleaned some other things up.
2017-02-05 08:42:16 -06:00
Marcos Kirsch
6ab6fcfff1
Modify for more standard hardware Wemos D1 Pro and its relay shield.
2017-02-04 23:18:16 -06:00
Marcos Kirsch
cc2173e334
Improve wording, ordering of links
2017-02-04 22:23:44 -06:00
Marcos Kirsch
2e25a63807
Improved logging via serial.
...
Created a single log function that prints a standard message that
includes IP and port of client. Remove or commented out other debug
prints.
2017-02-04 21:50:57 -06:00
Marcos Kirsch
6efa4ce3c0
Add simple text example
2017-01-27 22:22:31 -06:00
Marcos Kirsch
87e1a4babc
upload.html fixes
...
Minor modifications so it works without zipping and without compiling
lua. Fits well on WEMOS D1 Pro - we’ll see if anyone complains.
2017-01-27 22:13:50 -06:00
Marcos Kirsch
76750ab99a
Fixed formatting, and added more info on how this stress test crashes and hints on further testing.
2017-01-01 23:09:48 -06:00
Marcos Kirsch
c59af98e19
Change reference to number of images loaded by cars.html more ambiguous, in case that ever changes rendering this incorrect.
2017-01-01 23:09:08 -06:00
Marcos Kirsch
dba1ca7968
Fix - make fileHandle and clean it up, so it plays nice with coroutines.
2017-01-01 23:02:18 -06:00
Marcos Kirsch
45edb29368
Fix crash when WiFi connection fails.
2017-01-01 22:13:51 -06:00
Marcos Kirsch
2165484413
Add file.fscfg() results to example.
2017-01-01 22:12:52 -06:00
Marcos Kirsch
2034480679
Simplify by using file object model API
2017-01-01 22:12:18 -06:00
Marcos Kirsch
7aa44cd1a9
Improve documentation related to HTTP Basic Authentication.
...
Fixes https://github.com/marcoskirsch/nodemcu-httpserver/issues/71
2016-12-30 14:37:15 -06:00
Marcos Kirsch
79e345d964
Allow multiple users for basic HTTP authentication.
2016-12-28 14:16:58 -06:00