From b3e19936feb9412c639973c06578b75d6fa4e246 Mon Sep 17 00:00:00 2001 From: James Yu Date: Sat, 5 Oct 2024 21:14:43 +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..a7ccdc679 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 ` - +