Open carterw opened 7 years ago
You need to create the /www
directory first, per the README.
The intent is that you would create a directory into which you put your HTML, Javascript, stylesheets, etc, and the server only serves from that directory (and does not permit access outside of it).
@carterw okay to close? Sorry for not getting back sooner.
But as you can see in my comment, there was a /www directory...
os.listdir() ['boot.py', 'uhttpd.mpy', 'http_file_handler.mpy', 'ulog.mpy', 'console_sink.mpy', 'www']
I've cross-compiled the modules and installed them on a esp8266, but after following the instructions I am getting errors.
`
If I try invoking the server without the preceding slash it comes up, but errors out on HTTP requests;
`