提交 2a185026 编写于 作者: M Matt Bierner

Add platform to desktop webview url

上级 74679bed
......@@ -207,7 +207,7 @@ export class ElectronWebviewBasedWebview extends BaseWebview<WebviewTag> impleme
}
this.element!.preload = require.toUrl('./pre/electron-index.js');
this.element!.src = `${Schemas.vscodeWebview}://${this.id}/electron-browser/index.html`;
this.element!.src = `${Schemas.vscodeWebview}://${this.id}/electron-browser/index.html?platform=electron`;
}
protected createElement(options: WebviewOptions) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册