Skip to content

Commit

Permalink
Merge pull request #1068 from DemocracyLab/hotjar#1033
Browse files Browse the repository at this point in the history
CSP updates for hotjar
  • Loading branch information
marlonkeating authored Nov 12, 2023
2 parents b02d4de + b86c146 commit f443329
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions democracylab/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ def read_connection_config(config):
"*.doubleclick.net",
"*.newrelic.com",
"*.nr-data.net",
"*.hotjar.com",
"https://*.hotjar.com",
)
CSP_CONNECT_SRC = (
"'self'",
Expand All @@ -412,7 +412,9 @@ def read_connection_config(config):
"*.google-analytics.com",
"*.nr-data.net",
"*.hereapi.com",
"*.hotjar.com",
"https://*.hotjar.com",
"https://*.hotjar.io",
"wss://*.hotjar.com",
)
CSP_FONT_SRC = (
"'self'",
Expand Down

0 comments on commit f443329

Please sign in to comment.