Skip to content

Instantly share code, notes, and snippets.

Working with Magento extensions

Andrew Romacenko mssdef

Working with Magento extensions
View GitHub Profile
nixta / .htaccess
Last active Oct 20, 2021
.htaccess to add CORS to your website
View .htaccess
# 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"