From 2196fa2df06a80a3befb995d2199ea0c6c95b78f Mon Sep 17 00:00:00 2001 From: James Yu Date: Sat, 5 Oct 2024 19:15:59 +0800 Subject: [PATCH] Remove frame-src CSP to allow tunnel access --- 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 bf61b8c7f..6a70a0692 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 ` - +