File tree Expand file tree Collapse file tree
src/vs/workbench/api/common Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -245,14 +245,14 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
245245 return extHostTerminalService . getDefaultShell ( false , configProvider ) ;
246246 } ,
247247 openExternal ( uri : URI ) {
248- return extHostWindow . openUri ( uri , { allowTunneling : ! ! initData . remote . isRemote } ) ;
248+ return extHostWindow . openUri ( uri , { allowTunneling : ! ! initData . remote . authority } ) ;
249249 } ,
250250 asExternalUri ( uri : URI ) {
251251 if ( uri . scheme === initData . environment . appUriScheme ) {
252252 return extHostUrls . createAppUri ( uri ) ;
253253 }
254254
255- return extHostWindow . asExternalUri ( uri , { allowTunneling : ! ! initData . remote . isRemote } ) ;
255+ return extHostWindow . asExternalUri ( uri , { allowTunneling : ! ! initData . remote . authority } ) ;
256256 } ,
257257 get remoteName ( ) {
258258 return getRemoteName ( initData . remote . authority ) ;
You can’t perform that action at this time.
0 commit comments