add to htaccess access-control-allow-origin code example
Example 1: access-control-allow-origin htaccess
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin *
</IfModule>
Example 2: access-control-allow-origin htaccess
Header set Access-Control-Allow-Origin *