use response.writeHead() and write out the CORS header that way.
I do it in this code - https://github.com/SpenceKonde/AzzyProjects/blob/master/Animate/Version9.js
Great way! It's works! Thanks all by your support.
© Espruino, powered by microcosm.
Report a problem