Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set a Content Security Policy #895

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ All notable changes to this project will be documented in this file. The format

### Security

- A Content Security Policy is now set.
- Updated dependencies.

## [3.10.0] 2023-10-10
Expand Down
11 changes: 11 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@
"source": "**",
"destination": "/index.html"
}
],
"headers": [
{
"source":"**",
"headers": [
{
"key": "Content-Security-Policy",
"value": "script-src 'self' 'unsafe-eval' 'unsafe-inline' apis.google.com"
}
]
}
]
},
"storage": {
Expand Down