File tree Expand file tree Collapse file tree
extensions/simple-browser/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -90,7 +90,6 @@ export class SimpleBrowserView extends Disposable {
9090 const mainJs = this . extensionResourceUrl ( 'media' , 'index.js' ) ;
9191 const mainCss = this . extensionResourceUrl ( 'media' , 'main.css' ) ;
9292 const codiconsUri = this . extensionResourceUrl ( 'media' , 'codicon.css' ) ;
93- const codiconsFontUri = this . extensionResourceUrl ( 'media' , 'codicon.ttf' ) ;
9493
9594 return /* html */ `<!DOCTYPE html>
9695 <html>
@@ -99,7 +98,7 @@ export class SimpleBrowserView extends Disposable {
9998
10099 <meta http-equiv="Content-Security-Policy" content="
101100 default-src 'none';
102- font-src ${ codiconsFontUri } ;
101+ font-src ${ this . _webviewPanel . webview . cspSource } ;
103102 style-src ${ this . _webviewPanel . webview . cspSource } ;
104103 script-src 'nonce-${ nonce } ';
105104 frame-src *;
You can’t perform that action at this time.
0 commit comments