Change your host from host: 'http://192.168.1.66', to host: '192.168.1.66', and give that a try.
host: 'http://192.168.1.66',
host: '192.168.1.66',
@dave_irvine 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.
Change your host from
host: 'http://192.168.1.66',
tohost: '192.168.1.66',
and give that a try.