But you can get it to work just fine in AP+Client mode if you use the code I gave?
Your code is still buggy. When the browser requests /favicon.ico then the if (req.url === '/') { check fails and the HTTP response is left open.
/favicon.ico
if (req.url === '/') {
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
But you can get it to work just fine in AP+Client mode if you use the code I gave?
Your code is still buggy. When the browser requests
/favicon.ico
then theif (req.url === '/') {
check fails and the HTTP response is left open.