Skip to content

Commit 710878a

Browse files
authored
webui: restore code preview iframe origin isolation (#20477)
1 parent 0685848 commit 710878a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/server/webui/src/lib/components/app/dialogs/DialogCodePreview.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<iframe
3838
bind:this={iframeRef}
3939
title="Preview {language}"
40-
sandbox="allow-scripts allow-same-origin"
40+
sandbox="allow-scripts"
4141
class="code-preview-iframe"
4242
></iframe>
4343

0 commit comments

Comments
 (0)