We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e919117 commit a237836Copy full SHA for a237836
packages/extension/src/parts/Main/Main.ts
@@ -5,7 +5,8 @@ const webViewProvider = {
5
async create(webView, uri) {
6
// @ts-ignore
7
const content = await vscode.readFile(uri)
8
- await webView.invoke('initialize', content)
+ const [method, url] = content.split(' ')
9
+ await webView.invoke('initialize', method, url)
10
11
this.webView = webView
12
},
0 commit comments