Skip to content

Instantly share code, notes, and snippets.

@shaddam
Last active May 6, 2019 08:47
Show Gist options
  • Select an option

  • Save shaddam/c191660ddb76157eccf4a8d5459db8a8 to your computer and use it in GitHub Desktop.

Select an option

Save shaddam/c191660ddb76157eccf4a8d5459db8a8 to your computer and use it in GitHub Desktop.
cross-origin request blocked
Login to your cpanel and open your .htaccess file then put this code on .htaccess file.
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment