Skip to content

Commit f191b9d

Browse files
committed
Bring back webviewContentExternalBaseUrlTemplate
We need a distinct property just for webviews
1 parent 0e53bb6 commit f191b9d

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "code-oss-dev",
33
"version": "1.62.0",
4-
"distro": "b20d22b7ba814d2fdc985ad724271807ca95f2a8",
4+
"distro": "084dcc16aa74953bab0548580b3af2b0f2eb1134",
55
"author": {
66
"name": "Microsoft Corporation"
77
},

product.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"licenseFileName": "LICENSE.txt",
2424
"reportIssueUrl": "https://github.com/microsoft/vscode/issues/new",
2525
"urlProtocol": "code-oss",
26-
"webEndpointUrlTemplate": "https://{{uuid}}.vscode-webview.net/insider/dc1a6699060423b8c4d2ced736ad70195378fddf/out/vs/workbench/contrib/webview/browser/pre/",
26+
"webviewContentExternalBaseUrlTemplate": "https://{{uuid}}.vscode-webview.net/insider/dc1a6699060423b8c4d2ced736ad70195378fddf/out/vs/workbench/contrib/webview/browser/pre/",
2727
"extensionAllowedProposedApi": [
2828
"ms-vscode.vscode-js-profile-flame",
2929
"ms-vscode.vscode-js-profile-table",

src/vs/base/common/product.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ export interface IProductConfiguration {
5353
readonly updateUrl?: string;
5454
readonly webEndpointUrl?: string;
5555
readonly webEndpointUrlTemplate?: string;
56+
readonly webviewContentExternalBaseUrlTemplate?: string;
5657
readonly target?: string;
5758

5859
readonly settingsSearchBuildId?: number;

src/vs/workbench/services/environment/browser/environmentService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ export class BrowserWorkbenchEnvironmentService implements IWorkbenchEnvironment
227227
@memoize
228228
get webviewExternalEndpoint(): string {
229229
const endpoint = this.options.webviewEndpoint
230-
|| this.productService.webEndpointUrlTemplate
230+
|| this.productService.webviewContentExternalBaseUrlTemplate
231231
|| 'https://{{uuid}}.vscode-webview.net/{{quality}}/{{commit}}/out/vs/workbench/contrib/webview/browser/pre/';
232232

233233
const webviewExternalEndpointCommit = this.payload?.get('webviewExternalEndpointCommit');

0 commit comments

Comments
 (0)