extend the res.writeHead and play around with the Access-Control headers
'Access-Control-Allow-Headers', 'Origin, X-Requested-With, Content-Type, Accept'
Let us know, if this works for you.
Look like I had missed to hit Post reply
© Espruino, powered by microcosm.
Report a problem