add Access-Control-Allow-Origin: * header to html code example Example: access-control-allow-origin Access-Control-Allow-Origin: *