Skip to content

Commit

Permalink
✨ try to add cross origin to iframe
Browse files Browse the repository at this point in the history
  • Loading branch information
coyotte508 committed Oct 3, 2024
1 parent eef0ce9 commit 4420ac9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/web/src/components/Game/StartedGame.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@ ${$game.players.map((pl) => `- ${pl.name} (${pl.score} pts)`).join("\n")}`;
{#key gameId}
<iframe
bind:this={gameIframe}
allow="cross-origin-isolated"
credentialless
id="game-iframe"
title="Game UX"
sandbox="allow-scripts allow-same-origin"
Expand Down

0 comments on commit 4420ac9

Please sign in to comment.