diff --git a/src/commands/documaticPreviewPanel.ts b/src/commands/documaticPreviewPanel.ts index 7fde4d79..6db7f6f0 100644 --- a/src/commands/documaticPreviewPanel.ts +++ b/src/commands/documaticPreviewPanel.ts @@ -115,9 +115,6 @@ export class DocumaticPreviewPanel { * Set the static html for the webview. */ private setWebviewHtml(webviewFolderUri: vscode.Uri) { - // Get the path to the @vscode/webview-ui-toolkit minimized js - const toolkitUri = this._panel.webview.asWebviewUri(vscode.Uri.joinPath(webviewFolderUri, "toolkit-1.2.1.min.js")); - // Set the webview's html this._panel.webview.html = ` @@ -125,7 +122,9 @@ export class DocumaticPreviewPanel {
- + diff --git a/src/commands/restDebugPanel.ts b/src/commands/restDebugPanel.ts index 234e6079..e8e6a510 100644 --- a/src/commands/restDebugPanel.ts +++ b/src/commands/restDebugPanel.ts @@ -150,9 +150,6 @@ export class RESTDebugPanel { api.config.pathPrefix }`; - // Get the path to the @vscode/webview-ui-toolkit minimized js - const toolkitUri = this._panel.webview.asWebviewUri(vscode.Uri.joinPath(webviewFolderUri, "toolkit-1.2.1.min.js")); - // Set the webview's content this._panel.webview.html = ` @@ -160,7 +157,9 @@ export class RESTDebugPanel { - +