File tree Expand file tree Collapse file tree
src/vs/workbench/parts/update/electron-browser Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ function renderBody(body: string): string {
2626 return `<!DOCTYPE html>
2727 <html>
2828 <head>
29+ <base href="https://code.visualstudio.com/raw/">
2930 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
3031 <meta http-equiv="Content-Security-Policy" content="default-src 'none'; img-src https: data:; media-src https:; script-src 'none'; style-src file: https: 'unsafe-inline'; child-src 'none'; frame-src 'none';">
3132 <link rel="stylesheet" type="text/css" href="${ require . toUrl ( './media/markdown.css' ) } ">
@@ -94,7 +95,6 @@ export class ReleaseNotesEditor extends WebviewEditor {
9495 . then ( renderBody )
9596 . then < void > ( body => {
9697 this . webview = new WebView ( this . content , this . partService . getContainer ( Parts . EDITOR_PART ) ) ;
97- this . webview . baseUrl = `https://code.visualstudio.com/raw/` ;
9898
9999 if ( this . input && this . input instanceof ReleaseNotesInput ) {
100100 const state = this . loadViewState ( this . input . version ) ;
You can’t perform that action at this time.
0 commit comments