cpanel cors code example
Example: Enable CORS in cpanel
# How to enable CORS in your hosting account
# If you are a developer and need CORS enabled to run your app you can enable it adding the following lines in the .htaccess file in your hosting account.
Header set Access-Control-Allow-Origin "*"
# Other option is also enable the headers in your script if you are using PHP, for example: