diff --git a/democracylab/settings.py b/democracylab/settings.py index 5ba9c8b74..5585bcb82 100644 --- a/democracylab/settings.py +++ b/democracylab/settings.py @@ -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'", @@ -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'",