Skip to content

Commit

Permalink
Add security headers config for Referrer-Policy and Permissions-Policy
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamindehli committed Mar 7, 2024
1 parent d9b77ae commit 97beddb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@
}, {
"key" : "X-XSS-Protection",
"value" : "1; mode=block"
}, {
"key" : "Referrer-Policy",
"value" : "no-referrer-when-downgrade"
}, {
"key": "Permissions-Policy",
"value": "microphone=(), camera=(), accelerometer=(), gyroscope=(), magnetometer=(), payment=()"
}]
},{
"source": "**/*.@(eot|otf|ttf|ttc|woff|font.css)",
Expand Down

0 comments on commit 97beddb

Please sign in to comment.