diff --git a/src/vs/code/browser/workbench/workbench.ts b/src/vs/code/browser/workbench/workbench.ts index b2b57acba3ae6..78faf9c51739f 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