mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 18:19:12 +01:00
Move the webviewResourceRoot property to be set on each webview instead of as a global property
For #72155 This allows us to potentially change the resource root per webview
This commit is contained in:
@@ -262,10 +262,6 @@ export function createApiFactory(
|
||||
openExternal(uri: URI) {
|
||||
return extHostWindow.openUri(uri, { allowTunneling: !!initData.remote.isRemote });
|
||||
},
|
||||
get webviewResourceRoot() {
|
||||
checkProposedApiEnabled(extension);
|
||||
return initData.environment.webviewResourceRoot;
|
||||
},
|
||||
get remoteName() {
|
||||
if (!initData.remote.authority) {
|
||||
return undefined;
|
||||
|
||||
Reference in New Issue
Block a user