From ab0e00377c01a237c74db76be1356c4a36942942 Mon Sep 17 00:00:00 2001 From: James Yu Date: Sat, 5 Oct 2024 19:19:18 +0800 Subject: [PATCH] Revert "Remove frame-src CSP to allow tunnel access" This reverts commit 2196fa2df06a80a3befb995d2199ea0c6c95b78f. --- src/preview/viewer/pdfviewerpanel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/preview/viewer/pdfviewerpanel.ts b/src/preview/viewer/pdfviewerpanel.ts index 6a70a0692..bf61b8c7f 100644 --- a/src/preview/viewer/pdfviewerpanel.ts +++ b/src/preview/viewer/pdfviewerpanel.ts @@ -120,7 +120,7 @@ async function getPDFViewerContent(pdfUri: vscode.Uri): Promise { logger.log(`Internal PDF viewer at ${iframeSrcUrl} .`) const rebroadcast: boolean = getKeyboardEventConfig() return ` - +