Skip to content

Instantly share code, notes, and snippets.

@andreaforzani
andreaforzani / .htaccess
Created November 22, 2019 07:17 — forked from nixta/.htaccess
.htaccess to add CORS to your website
# Add these three lines to CORSify your server for everyone.
Header set Access-Control-Allow-Origin "*"
Header set Access-Control-Allow-Methods "GET,PUT,POST,DELETE"
Header set Access-Control-Allow-Headers "Content-Type, Authorization"