From 31997e323201c435e978084e045cbc97263cadab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Sat, 7 Nov 2026 01:26:18 +0100 Subject: [PATCH] docs(proxy): say that frame-ancestors governs framing The comments still named X-Frame-Options DENY as what refuses the vault preview embed and claimed the serve route keeps a sandbox directive. A browser that reads the CSP's frame-ancestors 'self' ignores X-Frame-Options, and the document CSP deliberately carries no sandbox. No behaviour change. --- src/proxy.ts | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/src/proxy.ts b/src/proxy.ts index 616602fa0..4fc8219cb 100644 --- a/src/proxy.ts +++ b/src/proxy.ts @@ -638,15 +638,14 @@ export function proxy(request: NextRequest) { response.headers.set(HEALTHLOG_PAGE_MARKER_HEADER, "1"); } - // The document vault's decrypt-and-serve route is framed SAME-ORIGIN by - // the document detail preview (an