Add remote-authority to webview uri

This commit is contained in:
Matt Bierner
2021-05-11 17:30:59 -07:00
parent 927e791753
commit b847eb35e7
9 changed files with 77 additions and 121 deletions

View File

@@ -184,7 +184,7 @@ export class ExtHostNotebookKernels implements ExtHostNotebookKernelsShape {
return that._proxy.$postMessage(handle, editor && that._extHostNotebook.getIdByEditor(editor), message);
},
asWebviewUri(uri: URI) {
return asWebviewUri(that._initData.environment, String(handle), uri);
return asWebviewUri({ ...that._initData.environment, remote: that._initData.remote }, String(handle), uri);
},
// --- priority
updateNotebookAffinity(notebook, priority) {