@@ -556,7 +556,7 @@ index ede771a03e..bb40fcdd6b 100644
556
556
if (!userDataProvider) {
557
557
const remoteUserDataUri = this.getRemoteUserDataUri();
558
558
diff --git a/src/vs/workbench/browser/web.simpleservices.ts b/src/vs/workbench/browser/web.simpleservices.ts
559
- index 25414d8733..73aca01cd2 100644
559
+ index 25414d8733..a0de828393 100644
560
560
--- a/src/vs/workbench/browser/web.simpleservices.ts
561
561
+++ b/src/vs/workbench/browser/web.simpleservices.ts
562
562
@@ -38,6 +38,9 @@ import { IRemoteAgentService } from 'vs/workbench/services/remote/common/remoteA
@@ -600,7 +600,7 @@ index 25414d8733..73aca01cd2 100644
600
600
const uri = _uris[i];
601
601
if ('folderUri' in uri) {
602
602
- const newAddress = `${document.location.origin}/?folder=${uri.folderUri.path}${this.workbenchEnvironmentService.configuration.connectionToken ? `&tkn=${this.workbenchEnvironmentService.configuration.connectionToken}` : ''}`;
603
- + const newAddress = `${window.location}/ ?folder=${uri.folderUri.path}${this.workbenchEnvironmentService.configuration.connectionToken ? `&tkn=${this.workbenchEnvironmentService.configuration.connectionToken}` : ''}`;
603
+ + const newAddress = `${window.location}?folder=${uri.folderUri.path}${this.workbenchEnvironmentService.configuration.connectionToken ? `&tkn=${this.workbenchEnvironmentService.configuration.connectionToken}` : ''}`;
604
604
if (openFolderInNewWindow) {
605
605
window.open(newAddress);
606
606
} else {
@@ -609,7 +609,7 @@ index 25414d8733..73aca01cd2 100644
609
609
}
610
610
if ('workspaceUri' in uri) {
611
611
- const newAddress = `${document.location.origin}/?workspace=${uri.workspaceUri.path}`;
612
- + const newAddress = `${window.location}/ ?workspace=${uri.workspaceUri.path}`;
612
+ + const newAddress = `${window.location}?workspace=${uri.workspaceUri.path}`;
613
613
if (openFolderInNewWindow) {
614
614
window.open(newAddress);
615
615
} else {
0 commit comments