mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
Remove unused code for rewriting endpoint
This was previously needed when the endpoint was configurable
This commit is contained in:
parent
15616f8d93
commit
1380c0c5e0
|
@ -70,11 +70,7 @@ export class ElectronIframeWebview extends IFrameWebview {
|
|||
}
|
||||
|
||||
protected override get webviewContentEndpoint(): string {
|
||||
const endpoint = `${Schemas.vscodeWebview}://${this.id}`;
|
||||
if (endpoint[endpoint.length - 1] === '/') {
|
||||
return endpoint.slice(0, endpoint.length - 1);
|
||||
}
|
||||
return endpoint;
|
||||
return `${Schemas.vscodeWebview}://${this.id}`;
|
||||
}
|
||||
|
||||
protected override async doPostMessage(channel: string, data?: any): Promise<void> {
|
||||
|
|
Loading…
Reference in a new issue