You are reading a single comment by @MaBe and its replies. Click here to read the full conversation.
  • extend the res.writeHead and play around with the Access-Control headers

    res.writeHead(200, {
    'Content-Type': 'text/plain',
    'Access-Control-Allow-Origin': '*',
    'Access-Control-Allow-Headers', 'Origin, X-Requested-With, Content-Type, Accept'
    });
    

    https://developer.mozilla.org/de/docs/Web/HTTP/CORS#The_HTTP_response_headers

    Let us know, if this works for you.

    Look like I had missed to hit Post reply

About

Avatar for MaBe @MaBe started