Skip to content

Commit

Permalink
Add headers for hosting
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexios80 committed May 22, 2024
1 parent ee3091d commit b407b9c
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,21 @@
"source": "**",
"destination": "/index.html"
}
],
"headers": [
{
"source": "**/*",
"headers": [
{
"key": "Cross-Origin-Embedder-Policy",
"value": "credentialless"
},
{
"key": "Cross-Origin-Opener-Policy",
"value": "same-origin"
}
]
}
]
},
{
Expand All @@ -31,6 +46,21 @@
"source": "**",
"destination": "/index.html"
}
],
"headers": [
{
"source": "**/*",
"headers": [
{
"key": "Cross-Origin-Embedder-Policy",
"value": "credentialless"
},
{
"key": "Cross-Origin-Opener-Policy",
"value": "same-origin"
}
]
}
]
}
],
Expand Down

0 comments on commit b407b9c

Please sign in to comment.