Skip to content

Commit

Permalink
💄 reduce diff
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdima committed May 11, 2023
1 parent 12b39c3 commit 273b73d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/vs/workbench/contrib/webview/browser/webviewElement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -782,10 +782,7 @@ export class WebviewElement extends Disposable implements IWebview, WebviewFindD
private async localLocalhost(id: string, origin: string) {
const authority = this._environmentService.remoteAuthority;
const resolveAuthority = authority ? await this._remoteAuthorityResolverService.resolveAuthority(authority) : undefined;
const redirect = resolveAuthority ? await this._portMappingManager.getRedirect({
connectionToken: resolveAuthority.authority.connectionToken,
connectTo: resolveAuthority.authority.connectTo,
}, origin) : undefined;
const redirect = resolveAuthority ? await this._portMappingManager.getRedirect(resolveAuthority.authority, origin) : undefined;
return this._send('did-load-localhost', {
id,
origin,
Expand Down

0 comments on commit 273b73d

Please sign in to comment.