webui: restore code preview iframe origin isolation (#20477)
This commit is contained in:
1 parent
0685848bc6
commit
710878a7dd
1 file changed
+1
-1
@@ -37,7 +37,7 @@
|
||||
<iframe
|
||||
bind:this={iframeRef}
|
||||
title="Preview {language}"
|
||||
sandbox="allow-scripts allow-same-origin"
|
||||
sandbox="allow-scripts"
|
||||
class="code-preview-iframe"
|
||||
></iframe>
|
||||
|
||||
|
||||
Reference in new issue
Block a user