Skip to content

Instantly share code, notes, and snippets.

View mssdef's full-sized avatar
💭
Working with Magento extensions

Andrew mssdef

💭
Working with Magento extensions
View GitHub Profile
@nixta
nixta / .htaccess
Last active March 19, 2024 22:52
.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"