webui: restore code preview iframe origin isolation (#20477)

This commit is contained in:
Chedrian07 2026-03-14 19:28:28 +09:00 committed by GitHub
parent 0685848bc6
commit 710878a7dd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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>