Skip to content

Instantly share code, notes, and snippets.

@zelimir83
zelimir83 / .htaccess
Created October 13, 2023 09:42 — 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"