Skip to content

Commit 8be5e97

Browse files
committed
try to fix relative uri's
1 parent 0f26611 commit 8be5e97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vscode/DesignerTextEditor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ export class DesignerTextEditor implements vscode.CustomTextEditorProvider {
155155
const baseuri = webview.asWebviewUri(vscode.Uri.file(documentFolder)) + '/';
156156
const scriptUri = webview.asWebviewUri(scriptPathOnDisk);
157157
const folder = vscode?.workspace?.workspaceFolders?.[0];
158-
const workspaceUri = webview.asWebviewUri(<any>folder?.uri);
158+
const workspaceUri = baseuri; // webview.asWebviewUri(<any>folder?.uri);
159159
const nonce = getNonce();
160160

161161
return /* html */`

0 commit comments

Comments
 (0)