Skip to content

Commit

Permalink
chore: remove obsolete csp header (#16664)
Browse files Browse the repository at this point in the history
  • Loading branch information
miketheman authored Sep 11, 2024
1 parent 15524b3 commit 8947dd8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion tests/unit/test_csp.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,6 @@ def test_includeme():
{
"csp": {
"base-uri": ["'self'"],
"block-all-mixed-content": [],
"connect-src": [
"'self'",
"https://api.github.com/repos/",
Expand Down
1 change: 0 additions & 1 deletion warehouse/csp.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ def includeme(config):
{
"csp": {
"base-uri": [SELF],
"block-all-mixed-content": [],
"connect-src": _connect_src_settings(config),
"default-src": [NONE],
"font-src": [SELF, "fonts.gstatic.com"],
Expand Down

0 comments on commit 8947dd8

Please sign in to comment.