From f9ddef1a01765a5c29e80ef7a4a2b4fb0393224e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nidhi=20Tyagi=20=F0=9F=8C=9F=F0=9F=90=87=F0=9F=8C=B4?= =?UTF-8?q?=E2=9D=84=EF=B8=8F?= Date: Tue, 24 Sep 2024 12:51:32 +0530 Subject: [PATCH] update missing frame src options --- src/web/client/webViews/RuntimePreview.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/web/client/webViews/RuntimePreview.ts b/src/web/client/webViews/RuntimePreview.ts index ee17747f..945fe6f2 100644 --- a/src/web/client/webViews/RuntimePreview.ts +++ b/src/web/client/webViews/RuntimePreview.ts @@ -103,6 +103,7 @@ export class RuntimePreview extends Disposable { font-src ${this._panel.webview.cspSource}; style-src ${this._panel.webview.cspSource}; script-src 'nonce-${nonce}'; + frame-src 'self' ${this._runtimeUri} ${this._panel.webview.cspSource}; ">