Skip to content

Commit

Permalink
Set a Content Security Policy
Browse files Browse the repository at this point in the history
  • Loading branch information
simenheg committed Oct 18, 2023
1 parent af105c0 commit 9df7a38
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
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

0 comments on commit 9df7a38

Please sign in to comment.