Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CSP to allow replays to play in release builds #612

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

kmagiera
Copy link
Member

This PR updates CSP used for the IDE panel. This is needed for replays to work, as the built-in player streams the video over http, we need to allow for this.

The issue wasn't detected with non-release builds before as we use different CSP settings there that are much more permissive in order to allow for things like hot reload.

Test plan

Try out replays on release build

Copy link

vercel bot commented Oct 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
radon-ide ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 11, 2024 9:18am

@kmagiera kmagiera merged commit d39f062 into main Oct 11, 2024
3 checks passed
@kmagiera kmagiera deleted the kmagiera/release-replays branch October 11, 2024 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant