Skip to content

Commit 273b73d

Browse files
committed
💄 reduce diff
1 parent 12b39c3 commit 273b73d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/vs/workbench/contrib/webview/browser/webviewElement.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -782,10 +782,7 @@ export class WebviewElement extends Disposable implements IWebview, WebviewFindD
782782
private async localLocalhost(id: string, origin: string) {
783783
const authority = this._environmentService.remoteAuthority;
784784
const resolveAuthority = authority ? await this._remoteAuthorityResolverService.resolveAuthority(authority) : undefined;
785-
const redirect = resolveAuthority ? await this._portMappingManager.getRedirect({
786-
connectionToken: resolveAuthority.authority.connectionToken,
787-
connectTo: resolveAuthority.authority.connectTo,
788-
}, origin) : undefined;
785+
const redirect = resolveAuthority ? await this._portMappingManager.getRedirect(resolveAuthority.authority, origin) : undefined;
789786
return this._send('did-load-localhost', {
790787
id,
791788
origin,

0 commit comments

Comments
 (0)