Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions templates/htaccess.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,9 @@
Header set X-XSS-Protection "1; mode=block"
Header always append X-Frame-Options SAMEORIGIN
Header set X-Content-Type-Options nosniff

# Allow special headers for blitz CORs requests
# Honestly, not sure why we need this, but from time to time dynamic Blitz requests fail without it.
Header add Access-Control-Allow-Headers "x-requested-with"
Header add Access-Control-Allow-Methods "GET, OPTIONS"
</IfModule>