header add access-control-allow-origin htaccess to same folder 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 *