File tree 1 file changed +8
-1
lines changed
lib/vscode/src/vs/workbench/services/extensions/browser
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -79,8 +79,15 @@ export class ExtensionService extends AbstractExtensionService implements IExten
79
79
await this . _userDataInitializationService . initializeInstalledExtensions ( this . _instantiationService ) ;
80
80
this . _initialize ( ) . then ( async ( ) => {
81
81
try {
82
+ // This enables the `vscode.workspace.registerRemoteAuthorityResolver` API to be executed.
83
+ //
84
+ // It's specifically scoped to the "coder-link" scheme at the moment to reduce external
85
+ // dependency on forking VS Code functionality.
86
+ //
87
+ // The remote host doesn't resolve to an extension host like the API expects, but instead
88
+ // we only utilize the tunnel functionality.
82
89
const extHost = this . _getExtensionHostManager ( ExtensionHostKind . Remote ) ;
83
- const resolved = await extHost ?. resolveAuthority ( 'coder-link+main ' ) ;
90
+ const resolved = await extHost ?. resolveAuthority ( 'coder-link+web ' ) ;
84
91
if ( resolved ) {
85
92
this . _remoteExplorerService . setTunnelInformation ( resolved . tunnelInformation ) ;
86
93
}
You can’t perform that action at this time.
0 commit comments