set Access-Control-Allow-Origin: * on javascript code example Example: access-control-allow-origin Access-Control-Allow-Origin: *