Skip to content

Commit

Permalink
Respect server folderUri and workspaceUri
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanp413 committed May 16, 2022
1 parent 81c969b commit 4ea89ff
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/vs/code/browser/workbench/workbench.ts
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,10 @@ function doCreateUri(path: string, queryValues: Map<string, string>): URI {
const originalConfig: IWorkbenchConstructionOptions & { folderUri?: UriComponents; workspaceUri?: UriComponents } = JSON.parse(configElementAttribute);
const config: IWorkbenchConstructionOptions & { folderUri?: UriComponents; workspaceUri?: UriComponents } = {
remoteAuthority: window.location.host,
developmentOptions: originalConfig.developmentOptions
developmentOptions: originalConfig.developmentOptions,
settingsSyncOptions: originalConfig.settingsSyncOptions,
folderUri: originalConfig.folderUri,
workspaceUri: originalConfig.workspaceUri
};

// Create workbench
Expand Down

0 comments on commit 4ea89ff

Please sign in to comment.