Skip to content

Commit

Permalink
Updated remote config to include domain restrictions param
Browse files Browse the repository at this point in the history
  • Loading branch information
benjackwhite committed Dec 12, 2024
1 parent 75e4168 commit dfae4df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions posthog/models/remote_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,8 @@ def build_config(self):
"urlBlocklist": team.session_recording_url_blocklist_config,
"eventTriggers": team.session_recording_event_trigger_config,
"scriptConfig": rrweb_script_config,
# Indicates there are domain restrictions - so the SDK can make one follow up call to check
"domainRestrictions": len(team.recording_domains or []) > 0,
}

if isinstance(team.session_replay_config, dict):
Expand Down

0 comments on commit dfae4df

Please sign in to comment.