]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
webui: restore code preview iframe origin isolation (#20477)
authorChedrian07 <redacted>
Sat, 14 Mar 2026 10:28:28 +0000 (19:28 +0900)
committerGitHub <redacted>
Sat, 14 Mar 2026 10:28:28 +0000 (11:28 +0100)
tools/server/webui/src/lib/components/app/dialogs/DialogCodePreview.svelte

index f339a26f27fd2a9188f151d7d8a71f7fe5495639..702519f9ff9710d856ea30236b45aa88c09f975d 100644 (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>