Skip to content

Commit

Permalink
Simplify font CSP to defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
janbrasna committed Apr 16, 2024
1 parent cade129 commit 616afaa
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions bedrock/settings/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,7 @@
_csp_connect_extra_for_dev = [
"com-getpocket-prod1.mini.snplow.net",
]
_csp_font_src = [
"'self'",
"assets.getpocket.com",
]
_csp_font_src = []

else:
# Mozorg mode
Expand Down Expand Up @@ -217,9 +214,7 @@
"cjms.services.mozilla.com",
]
_csp_connect_extra_for_dev = []
_csp_font_src = [
"'self'",
]
_csp_font_src = []

sys.stdout.write(f"Using SITE_MODE of '{site_mode}'\n")

Expand Down

0 comments on commit 616afaa

Please sign in to comment.