htaccess CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. 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 *