Skip to content

Commit

Permalink
fix(firebase): remove duplicate headers
Browse files Browse the repository at this point in the history
  • Loading branch information
rhahao authored Mar 23, 2022
1 parent 15f7d4b commit 09a33e1
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,10 @@
"headers": [{
"source": "**",
"headers": [
{ "key": "Content-Security-Policy", "value": "default-src https; img-src 'self'; script-src 'self'; style-src 'self'"
},
{
"key": "Cache-Control",
"value": "public, max-age=31536000"
},
{ "key": "Content-Security-Policy", "value": "default-src https; img-src 'self'; script-src 'self'; style-src 'self'" },
{ "key": "Cache-Control", "value": "no-cache, no-store, must-revalidate" },
{ "key": "X-Content-Type-Options", "value": "nosniff" },
{ "key": "X-Frame-Options", "value": "DENY" },
{ "key": "Cache-Control", "value": "no-cache, no-store, must-revalidate" },
{ "key": "Content-Security-Policy", "value": "script-src 'self'" },
{ "key": "XSS-Protection", "value": "1; mode=block" }
]
}]
Expand Down

0 comments on commit 09a33e1

Please sign in to comment.