diff --git a/src/vs/code/browser/workbench/workbench.ts b/src/vs/code/browser/workbench/workbench.ts index 5c0d32b5cd7fc..a0e1c9ca8eb4f 100644 --- a/src/vs/code/browser/workbench/workbench.ts +++ b/src/vs/code/browser/workbench/workbench.ts @@ -574,12 +574,8 @@ function readCookie(name: string): string | undefined { const secretStorageCrypto = secretStorageKeyPath && ServerKeyedAESCrypto.supported() ? new ServerKeyedAESCrypto(secretStorageKeyPath) : new TransparentCrypto(); const config: IWorkbenchConstructionOptions & { folderUri?: UriComponents; workspaceUri?: UriComponents; callbackRoute: string } = { + ...originalConfig, remoteAuthority: window.location.host, - developmentOptions: originalConfig.developmentOptions, - settingsSyncOptions: originalConfig.settingsSyncOptions, - folderUri: originalConfig.folderUri, - workspaceUri: originalConfig.workspaceUri, - callbackRoute: originalConfig.callbackRoute }; // Create workbench @@ -587,7 +583,6 @@ function readCookie(name: string): string | undefined { ...config, windowIndicator: config.windowIndicator ?? { label: '$(remote)', tooltip: `${product.nameShort} Web` }, settingsSyncOptions: config.settingsSyncOptions ? { enabled: config.settingsSyncOptions.enabled, } : undefined, - developmentOptions: { ...config.developmentOptions }, workspaceProvider: WorkspaceProvider.create(config), urlCallbackProvider: new LocalStorageURLCallbackProvider(config.callbackRoute), secretStorageProvider: config.remoteAuthority && !secretStorageKeyPath