Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
Working with Magento extensions

Andrew Romacenko mssdef

💭
Working with Magento extensions
View GitHub Profile
@nixta
nixta / .htaccess
Last active Jul 14, 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"